From 066aa4ac3f6bb3e28f2dbf71ec710319fbba5d19 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 7 Sep 2019 08:42:54 -0300 Subject: testing/py3-webob: rename from py-webob --- testing/py-webob/APKBUILD | 53 ---------------------------------------------- testing/py3-webob/APKBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 testing/py-webob/APKBUILD create mode 100644 testing/py3-webob/APKBUILD (limited to 'testing') diff --git a/testing/py-webob/APKBUILD b/testing/py-webob/APKBUILD deleted file mode 100644 index b3a7be7390..0000000000 --- a/testing/py-webob/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-webob -_pkgname=WebOb -pkgver=1.8.5 -pkgrel=0 -pkgdesc="A Python WSGI request and response objects" -url="https://webob.org/" -arch="noarch" -license="MIT" -makedepends="py-setuptools py3-setuptools" -checkdepends=" - py3-pytest py3-pytest-runner - py-wcwidth py3-wcwidth - " # Remove these once pytest get it as depends -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - python2 setup.py build - python3 setup.py build -} - -check() { - python3 setup.py pytest --addopts "--ignore=docs" -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_py3() { - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="cc0b956a7c3b8ae58d6002baf5c6de4e442201280468f8fc8b5fbd2c7f7cb7a8f46447f97b98a32a9959c8d1aa7a2a8a7b9d624cb27ca79b2ad1ce94f891801b WebOb-1.8.5.tar.gz" diff --git a/testing/py3-webob/APKBUILD b/testing/py3-webob/APKBUILD new file mode 100644 index 0000000000..b3a7be7390 --- /dev/null +++ b/testing/py3-webob/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-webob +_pkgname=WebOb +pkgver=1.8.5 +pkgrel=0 +pkgdesc="A Python WSGI request and response objects" +url="https://webob.org/" +arch="noarch" +license="MIT" +makedepends="py-setuptools py3-setuptools" +checkdepends=" + py3-pytest py3-pytest-runner + py-wcwidth py3-wcwidth + " # Remove these once pytest get it as depends +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python2 setup.py build + python3 setup.py build +} + +check() { + python3 setup.py pytest --addopts "--ignore=docs" +} + +package() { + mkdir -p "$pkgdir" +} + +_py2() { + replaces="$pkgname" + _py python2 +} + +_py3() { + _py python3 +} + +_py() { + local python="$1" + pkgdesc="$pkgdesc (for $python)" + depends="$depends $python" + install_if="$pkgname=$pkgver-r$pkgrel $python" + + cd "$builddir" + $python setup.py install --prefix=/usr --root="$subpkgdir" +} + +sha512sums="cc0b956a7c3b8ae58d6002baf5c6de4e442201280468f8fc8b5fbd2c7f7cb7a8f46447f97b98a32a9959c8d1aa7a2a8a7b9d624cb27ca79b2ad1ce94f891801b WebOb-1.8.5.tar.gz" -- cgit v1.2.3