aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-google-apputils
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-29 21:59:32 -0300
committerprspkt <prspkt@protonmail.com>2019-05-30 20:38:10 +0300
commitafcfbc6e423543cdc39bdb9e0fbd9d9c06e63c7d (patch)
tree45aefbd68de457df669aef85c15d8d7c0ea2fa2e /testing/py-google-apputils
parent58f9f6376a4100ff6a196e0249911e48e9abd4ca (diff)
downloadaports-afcfbc6e423543cdc39bdb9e0fbd9d9c06e63c7d.tar.bz2
aports-afcfbc6e423543cdc39bdb9e0fbd9d9c06e63c7d.tar.xz
testing/py-google-apputils: modernize
Diffstat (limited to 'testing/py-google-apputils')
-rw-r--r--testing/py-google-apputils/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/py-google-apputils/APKBUILD b/testing/py-google-apputils/APKBUILD
index 849502f755..e3c27e360b 100644
--- a/testing/py-google-apputils/APKBUILD
+++ b/testing/py-google-apputils/APKBUILD
@@ -9,19 +9,17 @@ url="https://github.com/google/google-apputils"
arch="noarch"
license="Apache-2.0"
depends="python2 py-dateutil>=1.4 py-gflags>=1.4 py-tz>=2010"
-makedepends="python2-dev py-setuptools"
+makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
- python2 setup.py build || return 1
+ python2 setup.py build
}
package() {
- cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
# Workaround for https://github.com/google/google-apputils/issues/4.
# The files under google_apputils.egg-info lack read permission for
@@ -30,6 +28,4 @@ package() {
chmod o+r "$pkgdir"/usr/lib/python2.7/site-packages/google_apputils-$pkgver-py2.7.egg-info/*
}
-md5sums="fb9fadf621dbecf28c8dabb5fe37ddb3 google-apputils-0.4.2.tar.gz"
-sha256sums="47959d0651c32102c10ad919b8a0ffe0ae85f44b8457ddcf2bdc0358fb03dc29 google-apputils-0.4.2.tar.gz"
sha512sums="d7579ec461292bb01ad5b8e1b09e161c66af0e85361f43f6065b837c90bddb9711a2d56db2b73d780dc25945375d4dad2f646507512b9acfeefd517613feacd4 google-apputils-0.4.2.tar.gz"