diff options
author | prspkt <prspkt@protonmail.com> | 2019-07-01 20:50:43 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-07-01 21:20:04 +0300 |
commit | edcf4754a64ec17d296afe8f9331688f2996c317 (patch) | |
tree | 30a1232ed4ccad144c4b0389c762344c194aa638 /testing/py3-responses | |
parent | 7c0d7e797940084cac34521c585a7de95814dd3c (diff) | |
download | aports-edcf4754a64ec17d296afe8f9331688f2996c317.tar.bz2 aports-edcf4754a64ec17d296afe8f9331688f2996c317.tar.xz |
testing/py3-responses: clarify license, modernize
Diffstat (limited to 'testing/py3-responses')
-rw-r--r-- | testing/py3-responses/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/testing/py3-responses/APKBUILD b/testing/py3-responses/APKBUILD index d2f9b9bbdc..e6956adbb0 100644 --- a/testing/py3-responses/APKBUILD +++ b/testing/py3-responses/APKBUILD @@ -3,27 +3,24 @@ pkgname=py3-responses _pkgname=responses pkgver=0.7.0 pkgrel=2 -pkgdesc="generate and validate responses check digits" +pkgdesc="Utility library for mocking out the requests Python library" url="https://pypi.python.org/pypi/responses/" arch="noarch" -license="BSD" +license="Apache-2.0" depends="py3-requests py3-six" makedepends="py3-setuptools" -install="" -source="https://files.pythonhosted.org/packages/source/r/responses/responses-$pkgver.tar.gz" -builddir="$srcdir/responses-$pkgver" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" replaces=py-responses # Backwards compatibility provides=py-responses=$pkgver-r$pkgrel # Backwards compatibility build() { - cd "$_builddir" python3 setup.py build } package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="352cf833b2c2a0b30618daac62355f6e62df2f0ad8b7bacd19b3f815c40a69064088238a0ecc44faa49dc2fc65fd176b30c0cbc526b468d38833af59a715a6d5 responses-0.7.0.tar.gz" |