aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-copyright
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-08 22:29:03 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 10:25:27 +0200
commit50699604f9bb6941cd356f85fe601a3adec25bad (patch)
treef5c6213d4170cf90f5cbf8e3e5c68efb51967112 /testing/py-flake8-copyright
parent2ffd5f6b714b92c655c18682bd08e570bbcef3f3 (diff)
downloadaports-50699604f9bb6941cd356f85fe601a3adec25bad.tar.bz2
aports-50699604f9bb6941cd356f85fe601a3adec25bad.tar.xz
testing/py-flake8-copyright: upgrade to 0.2.0
Diffstat (limited to 'testing/py-flake8-copyright')
-rw-r--r--testing/py-flake8-copyright/APKBUILD37
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py-flake8-copyright/APKBUILD b/testing/py-flake8-copyright/APKBUILD
index ac655ccee6..08805a4146 100644
--- a/testing/py-flake8-copyright/APKBUILD
+++ b/testing/py-flake8-copyright/APKBUILD
@@ -2,40 +2,27 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-copyright
_pkgname=flake8-copyright
-pkgver=0.1
-pkgrel=1
+pkgver=0.2.0
+pkgrel=0
pkgdesc="Extension for flake8 which checks for copyrights"
url="https://github.com/savoirfairelinux/flake8-copyright"
arch="noarch"
license="MIT"
-depends="python2 flake8"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
+depends="flake8"
+makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python3 setup.py build || return 1
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="8fab17d27f0b417c44ea0bebf579d71b flake8-copyright-0.1.tar.gz"
-sha256sums="34cba5411ef3f677b7ba8d7b063493c9ed5af9985b2da77807be94bf9e65823b flake8-copyright-0.1.tar.gz"
-sha512sums="c1ef4b8ad4bd422b629ec481074256d33ca4c8e8f10c7a7da6619b01c18ccf6f8a86bf6c7ce4d73f29a93e0f23797c1a356abcf242e9f556b979b75e3a8bfe46 flake8-copyright-0.1.tar.gz"
+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"