diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:22:25 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:30 -0800 |
commit | 1c75891efcd2269d5d5321b2dfb7203adf3c5991 (patch) | |
tree | c002e8b0fe474d098d5b87e6a57b86496102c780 /user/py3-requests-toolbelt/APKBUILD | |
parent | 3a5b54c55fd97c6c2c94fbf40bb202ba2442ff32 (diff) | |
download | packages-1c75891efcd2269d5d5321b2dfb7203adf3c5991.tar.gz packages-1c75891efcd2269d5d5321b2dfb7203adf3c5991.tar.bz2 packages-1c75891efcd2269d5d5321b2dfb7203adf3c5991.tar.xz packages-1c75891efcd2269d5d5321b2dfb7203adf3c5991.zip |
user/py3-requests-toolbelt: new package
Diffstat (limited to 'user/py3-requests-toolbelt/APKBUILD')
-rw-r--r-- | user/py3-requests-toolbelt/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-requests-toolbelt/APKBUILD b/user/py3-requests-toolbelt/APKBUILD new file mode 100644 index 000000000..b05144dcf --- /dev/null +++ b/user/py3-requests-toolbelt/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-requests-toolbelt +_pkgname=${pkgname##*-} +pkgver=0.8.0 +pkgrel=0 +pkgdesc="Useful classes and functions to be used with python-requests" +url="https://github.com/requests/toolbelt" +arch="noarch" +options="!check" # needs betamax +license="Apache-2.0" +makedepends="python3-dev" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/requests/$_pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + mkdir -p "$pkgdir" + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="55bf93d386442f5deb81eabd85812ffd49e98ff88c0bb96e15271efd84deb7c5d854a2cdc81c989a7d74870e8a218fc968d080052d9ca7cd9733a2378ea9c2f5 py3-requests-toolbelt-0.8.0.tar.gz" |