aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-import-order
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-08 22:58:38 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 10:25:27 +0200
commit3eaa5796b8d4fc9c53ed7c2cfe61323187d52e5d (patch)
treea68ea35ec57d9f1d7f5b8165212114965c4e267f /testing/py-flake8-import-order
parent0b9aefd4eafdabfc8cc80f417ff6603778d62f72 (diff)
downloadaports-3eaa5796b8d4fc9c53ed7c2cfe61323187d52e5d.tar.bz2
aports-3eaa5796b8d4fc9c53ed7c2cfe61323187d52e5d.tar.xz
testing/py-flake8-import-order: upgrade to 0.10
Diffstat (limited to 'testing/py-flake8-import-order')
-rw-r--r--testing/py-flake8-import-order/APKBUILD37
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py-flake8-import-order/APKBUILD b/testing/py-flake8-import-order/APKBUILD
index 731e3c007e..3393289b41 100644
--- a/testing/py-flake8-import-order/APKBUILD
+++ b/testing/py-flake8-import-order/APKBUILD
@@ -2,40 +2,27 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-import-order
_pkgname=flake8-import-order
-pkgver=0.5.3
-pkgrel=1
+pkgver=0.10
+pkgrel=0
pkgdesc="Extension for flake8 which checks for the ordering of import statements"
url="https://github.com/public/flake8-import-order"
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="45c8aa3ba5da201e8977798a1c113e9e flake8-import-order-0.5.3.tar.gz"
-sha256sums="f304ff2d51a9736d59d8f4c829b43f73693010e3cc0724ee6af0a3a275f968a5 flake8-import-order-0.5.3.tar.gz"
-sha512sums="254fef67814968b959a2be668ca41d37d17b57cff4ab8df2c87081425e505394d53e5362603d065197ba73c0580a8e18f065d89d881692e78fa0f58619153130 flake8-import-order-0.5.3.tar.gz"
+md5sums="2ce3b767bc72b152abc3be1f149d1b41 flake8-import-order-0.10.tar.gz"
+sha256sums="64ec1220b4755c6bdecffbdbb4c10e6e74f1f7a248c70bbcc33c06d475757d8d flake8-import-order-0.10.tar.gz"
+sha512sums="d79dd05ddbd3aecd8fb8f9230fe35e08a9c7ee48e7a3f8f800cb65a6084a3a20b43d18b36f2dcd68c1deab6c926f9c8f4827e4ea0f950a0eb57fca4e7cd47c2b flake8-import-order-0.10.tar.gz"