diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-26 19:55:41 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-09 08:03:08 -0300 |
| commit | 0f688885f04441c7034b2d99310ee12501fbecfa (patch) | |
| tree | ee6e91c8b3bb7f3ce9df11eff1f684634c49acd6 /testing | |
| parent | 138a5650dbec3be0284d0dc12f727f41a46cb090 (diff) | |
| download | aports-0f688885f04441c7034b2d99310ee12501fbecfa.tar.bz2 aports-0f688885f04441c7034b2d99310ee12501fbecfa.tar.xz | |
community/py3-itypes: move from testing
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-itypes/APKBUILD | 31 | ||||
| -rw-r--r-- | testing/py3-itypes/disable-flake8.patch | 30 |
2 files changed, 0 insertions, 61 deletions
diff --git a/testing/py3-itypes/APKBUILD b/testing/py3-itypes/APKBUILD deleted file mode 100644 index 2207577ba3..0000000000 --- a/testing/py3-itypes/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: -pkgname=py3-itypes -_pkgreal=itypes -pkgver=1.1.0 -pkgrel=3 -pkgdesc="Basic immutable container types for Python" -url="https://github.com/tomchristie/itypes" -arch="noarch" -license="BSD-3-Clause" -makedepends="py3-setuptools" -checkdepends="py3-flake8 py3-pytest py3-pyflakes" -source="$pkgname-$pkgver.tar.gz::https://github.com/tomchristie/itypes/archive/$pkgver.tar.gz" -builddir="$srcdir"/$_pkgreal-$pkgver - -replaces="py-itypes" # Backwards compatibility -provides="py-itypes=$pkgver-r$pkgrel" # Backwards compatibility - -build() { - python3 setup.py build -} - -check() { - python3 runtests -} - -package() { - python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" -} - -sha512sums="2f6dd5d655f1031059df8dcfd0a2f76875796a800144e887fb66cb5585949097edb6b9f5e973de2280f43cfeb25ab99d3ca428372fe239c8cd70f385304bcdd7 py3-itypes-1.1.0.tar.gz" diff --git a/testing/py3-itypes/disable-flake8.patch b/testing/py3-itypes/disable-flake8.patch deleted file mode 100644 index 91ee70a28b..0000000000 --- a/testing/py3-itypes/disable-flake8.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- itypes-1.1.0.orig/runtests -+++ itypes-1.1.0/runtests -@@ -6,7 +6,6 @@ - - - PYTEST_ARGS = ['tests.py', '--tb=short'] --FLAKE8_ARGS = ['itypes.py', 'tests.py', '--ignore=E501'] - COVERAGE_OPTIONS = { - 'include': ['itypes.py', 'tests.py'], - } -@@ -25,13 +24,6 @@ - sys.exit(ret) - - --def flake8_main(args): -- print('Running flake8 code linting') -- ret = subprocess.call(['flake8'] + args) -- print('flake8 failed' if ret else 'flake8 passed') -- return ret -- -- - def fail_if_lacking_coverage(cov): - precent_covered = cov.report( - file=NullFile(), **COVERAGE_OPTIONS -@@ -82,5 +74,4 @@ - # cov.start() - exit_on_failure(pytest.main(pytest_args)) - # cov.stop() -- exit_on_failure(flake8_main(FLAKE8_ARGS)) - # fail_if_lacking_coverage(cov) |
