[arch-commits] Commit in python-py-bcrypt/repos (4 files)

Johannes Löthberg demize at archlinux.org
Tue Jan 17 10:40:21 UTC 2017


    Date: Tuesday, January 17, 2017 @ 10:40:20
  Author: demize
Revision: 207720

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python-py-bcrypt/repos/community-i686/
  python-py-bcrypt/repos/community-i686/PKGBUILD
    (from rev 207719, python-py-bcrypt/trunk/PKGBUILD)
  python-py-bcrypt/repos/community-x86_64/
  python-py-bcrypt/repos/community-x86_64/PKGBUILD
    (from rev 207719, python-py-bcrypt/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   50 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

Copied: python-py-bcrypt/repos/community-i686/PKGBUILD (from rev 207719, python-py-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-01-17 10:40:20 UTC (rev 207720)
@@ -0,0 +1,50 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx100 at gmail.com>
+
+pkgbase=python-py-bcrypt
+pkgname=(python-py-bcrypt python2-py-bcrypt)
+pkgver=0.4
+pkgrel=2
+
+pkgdesc='bcrypt password hashing and key derivation'
+url='https://pypi.python.org/pypi/py-bcrypt/'
+arch=('i686' 'x86_64')
+license=('BSD')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/py-bcrypt/py-bcrypt-$pkgver.tar.gz")
+
+md5sums=('dd8b367d6b716a2ea2e72392525f4e36')
+
+prepare() {
+	cp -a py-bcrypt-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/py-bcrypt-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/py-bcrypt-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-py-bcrypt() {
+	depends=('python')
+
+	cd py-bcrypt-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-py-bcrypt() {
+	depends=('python2')
+
+	cd py-bcrypt-$pkgver-python2
+	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :

Copied: python-py-bcrypt/repos/community-x86_64/PKGBUILD (from rev 207719, python-py-bcrypt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-01-17 10:40:20 UTC (rev 207720)
@@ -0,0 +1,50 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx100 at gmail.com>
+
+pkgbase=python-py-bcrypt
+pkgname=(python-py-bcrypt python2-py-bcrypt)
+pkgver=0.4
+pkgrel=2
+
+pkgdesc='bcrypt password hashing and key derivation'
+url='https://pypi.python.org/pypi/py-bcrypt/'
+arch=('i686' 'x86_64')
+license=('BSD')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/py-bcrypt/py-bcrypt-$pkgver.tar.gz")
+
+md5sums=('dd8b367d6b716a2ea2e72392525f4e36')
+
+prepare() {
+	cp -a py-bcrypt-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/py-bcrypt-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/py-bcrypt-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-py-bcrypt() {
+	depends=('python')
+
+	cd py-bcrypt-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-py-bcrypt() {
+	depends=('python2')
+
+	cd py-bcrypt-$pkgver-python2
+	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :



More information about the arch-commits mailing list