[arch-commits] Commit in python-unpaddedbase64 (repos trunk trunk/PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Sat Jan 14 22:15:14 UTC 2017
Date: Saturday, January 14, 2017 @ 22:15:13
Author: demize
Revision: 207422
python-unpaddedbase64: Import PKGBUILD
Added:
python-unpaddedbase64/repos/
python-unpaddedbase64/trunk/
python-unpaddedbase64/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD (rev 0)
+++ trunk/PKGBUILD 2017-01-14 22:15:13 UTC (rev 207422)
@@ -0,0 +1,47 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-unpaddedbase64
+pkgname=(python-unpaddedbase64 python2-unpaddedbase64)
+pkgver=1.1.0
+pkgrel=2
+
+pkgdesc='Unpadded Base64'
+url='https://pypi.python.org/pypi/unpaddedbase64/'
+arch=('any')
+license=('Apache')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("python-unpaddedbase64-${pkgver}.tar.gz::https://github.com/matrix-org/python-unpaddedbase64/archive/v$pkgver.tar.gz")
+
+md5sums=('e765e946f15e84eeb0dc512259a7d15b')
+
+prepare() {
+ cp -a python-unpaddedbase64-$pkgver{,-python2}
+}
+
+build() {
+ cd "$srcdir"/python-unpaddedbase64-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-unpaddedbase64-$pkgver-python2
+ python2 setup.py build
+}
+
+package_python-unpaddedbase64() {
+ depends=('python')
+
+ cd python-unpaddedbase64-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-unpaddedbase64() {
+ depends=('python2')
+
+ cd python-unpaddedbase64-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :
More information about the arch-commits
mailing list