aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-boto
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-03-28 20:26:50 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-28 22:19:25 +0200
commit7e394df2b09386a7c289ed0c5d950c763e512ac1 (patch)
tree07d02fcd9613ac7cd72fe01b860daa6ba38d4911 /main/py-boto
parenta9118f597b1f06ec68500dc5f1d3258af71963b8 (diff)
downloadaports-7e394df2b09386a7c289ed0c5d950c763e512ac1.tar.bz2
aports-7e394df2b09386a7c289ed0c5d950c763e512ac1.tar.xz
main/py-boto: upgrade to 2.46.1 and modernize abuild
Diffstat (limited to 'main/py-boto')
-rw-r--r--main/py-boto/APKBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/main/py-boto/APKBUILD b/main/py-boto/APKBUILD
index 5c15124937..88ff7d103e 100644
--- a/main/py-boto/APKBUILD
+++ b/main/py-boto/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-boto
_pkgname=boto
-pkgver=2.38.0
+pkgver=2.46.1
pkgrel=0
pkgdesc="An interface to infrastructural services offered by Amazon Web Services"
url="http://docs.pythonboto.org/en/latest/index.html"
@@ -13,25 +13,20 @@ makedepends="python2-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- # apply patches here
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --root "$pkgdir" || return 1
}
doc() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
install -Dm644 README.rst "$subpkgdir"/usr/share/doc/$pkgname/README
@@ -47,6 +42,4 @@ doc() {
find "$subpkgdir"/usr/share/doc/$pkgname/ -type d -exec chmod 755 '{}' \;
}
-md5sums="28112f29e9c7b10e12b6917a325e70ce boto-2.38.0.tar.gz"
-sha256sums="d9083f91e21df850c813b38358dc83df16d7f253180a1344ecfedce24213ecf2 boto-2.38.0.tar.gz"
-sha512sums="577672007348db846d041c0906806c62eb77653b1335645cc852c603f5d32991ca648aacb884676af02043914c91ab6f41666b36b5b1ae23a3a354bdf9f3f75a boto-2.38.0.tar.gz"
+sha512sums="3c8d7edd912bacba14410d537eb1a51633c111662eb3292872862b2221a9a9e75bc03248e150ca02a416831e954ce0d2d8162dca51b13b625e2ae8326ebe8183 boto-2.46.1.tar.gz"