From be82477324cade6a73de6ec9185f9a711a4d7c2c Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 18 Jun 2019 14:51:31 -0300 Subject: community/py3-pytest-cov: rename from pytest-cov --- community/py3-pytest-cov/APKBUILD | 29 +++++++++++++++++++++++++++++ community/pytest-cov/APKBUILD | 29 ----------------------------- 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 community/py3-pytest-cov/APKBUILD delete mode 100644 community/pytest-cov/APKBUILD diff --git a/community/py3-pytest-cov/APKBUILD b/community/py3-pytest-cov/APKBUILD new file mode 100644 index 00000000000..524f79844c4 --- /dev/null +++ b/community/py3-pytest-cov/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: TBK +# Maintainer: TBK +pkgname=py3-pytest-cov +_pkgname=${pkgname#py3-} +pkgver=2.7.1 +pkgrel=0 +pkgdesc="Pytest plugin for measuring coverage." +url="https://github.com/pytest-dev/pytest-cov" +arch="noarch" +license="MIT" +replaces="pytest-cov" # for backwards compatibility +provides="pytest-cov=$pkgver-r$pkgrel" # for backwards compatibility +depends="pytest py3-pytest py3-coverage" +makedepends="python3-dev py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz" + +build() { + python3 setup.py build +} + +check() { + PYTHONPATH=. python3 setup.py test +} + +package() { + python3 setup.py install --prefix="/usr" --root="$pkgdir" +} + +sha512sums="bb2bc5be49b3c2f56a36b6396d6b1a6734e86fb0bf1c2ef29bf8dbc95dcb9364c6deb1525529d46f4ec0ffa6899ef0e94b5f76e5ed892b0a092e69ad6c6e080e py3-pytest-cov-2.7.1.tar.gz" diff --git a/community/pytest-cov/APKBUILD b/community/pytest-cov/APKBUILD deleted file mode 100644 index 524f79844c4..00000000000 --- a/community/pytest-cov/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: TBK -# Maintainer: TBK -pkgname=py3-pytest-cov -_pkgname=${pkgname#py3-} -pkgver=2.7.1 -pkgrel=0 -pkgdesc="Pytest plugin for measuring coverage." -url="https://github.com/pytest-dev/pytest-cov" -arch="noarch" -license="MIT" -replaces="pytest-cov" # for backwards compatibility -provides="pytest-cov=$pkgver-r$pkgrel" # for backwards compatibility -depends="pytest py3-pytest py3-coverage" -makedepends="python3-dev py3-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - PYTHONPATH=. python3 setup.py test -} - -package() { - python3 setup.py install --prefix="/usr" --root="$pkgdir" -} - -sha512sums="bb2bc5be49b3c2f56a36b6396d6b1a6734e86fb0bf1c2ef29bf8dbc95dcb9364c6deb1525529d46f4ec0ffa6899ef0e94b5f76e5ed892b0a092e69ad6c6e080e py3-pytest-cov-2.7.1.tar.gz" -- cgit v1.2.3