aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-print/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-20 12:54:15 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-20 14:50:56 -0300
commit25bad2a828ee44ca6541ee820e85ddfa8c779e8a (patch)
treed51d07b79a3f98ef908833e541ee3410e020e59e /testing/py3-flake8-print/APKBUILD
parent6438e0e00ef8a2b6750fa2421efa49d7dd45aed1 (diff)
downloadaports-25bad2a828ee44ca6541ee820e85ddfa8c779e8a.tar.bz2
aports-25bad2a828ee44ca6541ee820e85ddfa8c779e8a.tar.xz
testing/py3-flake8-print: upgrade to 3.1.0
Diffstat (limited to 'testing/py3-flake8-print/APKBUILD')
-rw-r--r--testing/py3-flake8-print/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/testing/py3-flake8-print/APKBUILD b/testing/py3-flake8-print/APKBUILD
index 7e19fcb09e..85fa401730 100644
--- a/testing/py3-flake8-print/APKBUILD
+++ b/testing/py3-flake8-print/APKBUILD
@@ -1,28 +1,27 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flake8-print
+pkgname=py3-flake8-print
_pkgname=flake8-print
-pkgver=2.0.2
-pkgrel=2
+pkgver=3.1.0
+pkgrel=0
pkgdesc="Extension for flake8 which lint for print statements"
url="https://github.com/jbkahn/flake8-print"
arch="noarch"
license="MIT"
-depends="flake8"
-makedepends="python3-dev"
+depends="py3-flake8 py3-six"
+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-print" # Backwards compatiblity
+provides="py-flake8-print=$pkgver-r$pkgrel" # Backwards compatiblity
+
build() {
- cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="7483af885c65dcb3bb0b21b5d67928d3 flake8-print-2.0.2.tar.gz"
-sha256sums="19a0db71b37d985732c247032f84c111d191ed5977d7f852a654c6a8ac137595 flake8-print-2.0.2.tar.gz"
-sha512sums="9ec69c0f0489a48ea2861644fe2ac2f9ab11e55d156883dded3788e64033783c2cc4fc7bcca4f3d0cf41e291ede36e8f09ac3462954648d251784db70b77ce93 flake8-print-2.0.2.tar.gz"
+sha512sums="9d8ea7017eebedf365a45cc3f1bcca2aec73c5257a935cd5d5bc927d5d1f06866b7e072f70e2a8a13e61c3416af6afbaa1fa6225dad087bbdc796656f0eda1f0 flake8-print-3.1.0.tar.gz"