diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2016-11-08 22:48:36 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-27 10:25:27 +0200 |
commit | 5bd53544a8abf97811b005b209a4a1928cfc433a (patch) | |
tree | b076abffc87149e41788959a43c0bd39c1acb2c5 /testing/py-flake8-docstrings | |
parent | 91dd364411cdcc1f2df495cb63947d305de4cf42 (diff) | |
download | aports-5bd53544a8abf97811b005b209a4a1928cfc433a.tar.bz2 aports-5bd53544a8abf97811b005b209a4a1928cfc433a.tar.xz |
testing/py-flake8-docstrings: upgrade to 1.0.2
Diffstat (limited to 'testing/py-flake8-docstrings')
-rw-r--r-- | testing/py-flake8-docstrings/APKBUILD | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/testing/py-flake8-docstrings/APKBUILD b/testing/py-flake8-docstrings/APKBUILD index 513a1d29fd..ead5013c44 100644 --- a/testing/py-flake8-docstrings/APKBUILD +++ b/testing/py-flake8-docstrings/APKBUILD @@ -2,40 +2,27 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-flake8-docstrings _pkgname=flake8-docstrings -pkgver=0.2.0 -pkgrel=1 +pkgver=1.0.2 +pkgrel=0 pkgdesc="Extension for flake8 which uses pep257 to check docstrings" url="https://bitbucket.org/icordasc/flake8-docstrings" 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="a8ee13b2bffe9b107cbc6b4d927a693b flake8-docstrings-0.2.0.tar.gz" -sha256sums="b8a8a00ed5f4bb4fe194c0a79e4ec621f93f46a54f41ad3d79611d5a6f69b565 flake8-docstrings-0.2.0.tar.gz" -sha512sums="488a2095d4ef7ee0f52703b581e4a8d48b61a56b7be6f93a6945484e1d671e95ac38f80932ed738ce6eac16201ee7a96de0fc0109492f828ffc5b065dd22f2b4 flake8-docstrings-0.2.0.tar.gz" +md5sums="09f3d6fd3aac13cd3a750af89ee88800 flake8-docstrings-1.0.2.tar.gz" +sha256sums="65860ba7ccbe29b339eae985d6a4f794b074f66c7bd9f858d78838e263a54596 flake8-docstrings-1.0.2.tar.gz" +sha512sums="dfd55f71f34013edcc24f87a15833c7c11fad60c0063201b74dce7c5be7f503ed9d7dc6316d5a42666ba74236555c3498c723b0c4e8e02b922db736a39b7dfc3 flake8-docstrings-1.0.2.tar.gz" |