aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-copyright/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py3-flake8-copyright/APKBUILD')
-rw-r--r--testing/py3-flake8-copyright/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-flake8-copyright/APKBUILD b/testing/py3-flake8-copyright/APKBUILD
new file mode 100644
index 0000000000..c857337dca
--- /dev/null
+++ b/testing/py3-flake8-copyright/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flake8-copyright
+_pkgname=flake8-copyright
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Extension for flake8 which checks for copyrights"
+url="https://github.com/savoirfairelinux/flake8-copyright"
+arch="noarch"
+license="MIT"
+depends="flake8"
+makedepends="python3-dev"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python3 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="c6348990c6d74933bf5d5f6a55a14bdf flake8-copyright-0.2.0.tar.gz"
+sha256sums="aeef26eb4d5223c9cd5b101e68175fcef6d2b353bf36da688fdde62fccfe2b73 flake8-copyright-0.2.0.tar.gz"
+sha512sums="bab1bfaeed3a525ac3c7da12b1f2ec338c204cc69b72d05cd39560e528faff5d586c3b1be9570f4a977a7e2417b586e543bfba12abce256b2023c8c4993eeb90 flake8-copyright-0.2.0.tar.gz"