aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-builtins
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-20 13:31:42 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-20 14:50:56 -0300
commit2807cdd3e853c9da2692efa1db9f4bbeee98dc69 (patch)
treed556a71d8714bae8198c662078cc23bed8e83b81 /testing/py3-flake8-builtins
parent7ad5cbdd4295183d32adc79581c727961a45368c (diff)
downloadaports-2807cdd3e853c9da2692efa1db9f4bbeee98dc69.tar.bz2
aports-2807cdd3e853c9da2692efa1db9f4bbeee98dc69.tar.xz
testing/py3-flake8-builtins: rename from py-flake8-builtins
Diffstat (limited to 'testing/py3-flake8-builtins')
-rw-r--r--testing/py3-flake8-builtins/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-flake8-builtins/APKBUILD b/testing/py3-flake8-builtins/APKBUILD
new file mode 100644
index 0000000000..005eebe487
--- /dev/null
+++ b/testing/py3-flake8-builtins/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-flake8-builtins
+_pkgname=flake8-builtins
+pkgver=1.4.1
+pkgrel=0
+pkgdesc="Extension for flake8 to check for builtins"
+options="!check" # No testsuite
+url="https://github.com/gforcada/flake8-builtins"
+arch="noarch"
+license="MIT"
+depends="py3-flake8"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+replaces="py-flake8-builtins" # Backwards compatibility
+provides="py-flake8-builtins=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="c351b3405a6a627e497cb203ae2d5d15ad167170fe2c63e7510c65d1c705b29a03d3c260e779d0a9f1927339cc9b3409672384a5177fa6c30dfffab01504b326 flake8-builtins-1.4.1.tar.gz"