diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-20 13:22:12 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-20 14:50:56 -0300 |
commit | ddd7a263b899f38ae50f73b4a5922cb8c53d5069 (patch) | |
tree | ad417ccc491ff54da61ad11ca9a8d4b7749cea81 /testing/py3-flake8-debugger | |
parent | deda8a6b56b3088ec290609412164beba95e3033 (diff) | |
download | aports-ddd7a263b899f38ae50f73b4a5922cb8c53d5069.tar.bz2 aports-ddd7a263b899f38ae50f73b4a5922cb8c53d5069.tar.xz |
testing/py3-flake8-debugger: upgrade to 3.1.0
Diffstat (limited to 'testing/py3-flake8-debugger')
-rw-r--r-- | testing/py3-flake8-debugger/APKBUILD | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/testing/py3-flake8-debugger/APKBUILD b/testing/py3-flake8-debugger/APKBUILD index 1d2375770e..721b002039 100644 --- a/testing/py3-flake8-debugger/APKBUILD +++ b/testing/py3-flake8-debugger/APKBUILD @@ -1,28 +1,34 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flake8-debugger +pkgname=py3-flake8-debugger _pkgname=flake8-debugger -pkgver=1.4.0 -pkgrel=2 +pkgver=3.1.0 +pkgrel=0 pkgdesc="Extension for flake8 which lint for ipdb/pdb statements" +# AttributeError: 'DebuggerTestStyleGuide' object has no attribute 'max_doc_length' +options="!check" url="https://github.com/jbkahn/flake8-debugger" arch="noarch" license="MIT" -depends="flake8" -makedepends="python3-dev" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +depends="py3-flake8" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://github.com/JBKahn/flake8-debugger/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +replaces="py-flake8-debugger" # Backwards compatibility +provides="py-flake8-debugger=$pkgver-r$pkgrel" # Backwards compatibility + build() { - cd "$builddir" - python3 setup.py build || return 1 + python3 setup.py build +} + +check() { + py.test-3 } package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="9f7d01657d6a56a7b2bf0c2343fecf60 flake8-debugger-1.4.0.tar.gz" -sha256sums="5918490f710f1cbbcabd11748558063274b93984ea63744eb712dbcd8d721232 flake8-debugger-1.4.0.tar.gz" -sha512sums="19fb987989fe3ecf944e996c0da6d85a24bf2eaf4e615eeaf188ee06cb1feb02c5344ad9a50a7ca00b1d567196026341230459c697de81074027c56164606d39 flake8-debugger-1.4.0.tar.gz" +sha512sums="487864ba8b717978e91fb9b76dc43b14e4c0efa322a6a032c9592d65da9f6eb87e624ec05a731263dd63560ab8508d4f0e05b86e83c3d101ae34638719abdbb7 py3-flake8-debugger-3.1.0.tar.gz" |