[arch-commits] Commit in python-pycryptodomex/repos (4 files)
Johannes Löthberg
demize at archlinux.org
Sun Mar 19 00:23:43 UTC 2017
Date: Sunday, March 19, 2017 @ 00:23:43
Author: demize
Revision: 217210
archrelease: copy trunk to community-x86_64, community-i686
Added:
python-pycryptodomex/repos/community-i686/
python-pycryptodomex/repos/community-i686/PKGBUILD
(from rev 217209, python-pycryptodomex/trunk/PKGBUILD)
python-pycryptodomex/repos/community-x86_64/
python-pycryptodomex/repos/community-x86_64/PKGBUILD
(from rev 217209, python-pycryptodomex/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: python-pycryptodomex/repos/community-i686/PKGBUILD (from rev 217209, python-pycryptodomex/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-03-19 00:23:43 UTC (rev 217210)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-pycryptodomex
+pkgname=(python-pycryptodomex python2-pycryptodomex)
+pkgver=3.4.5
+pkgrel=2
+
+pkgdesc='A self-contained Python package of low-level cryptographic primitives'
+url='http://www.pycryptodome.org/'
+arch=('x86_64' 'i686')
+license=('BSD')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/pycryptodomex/pycryptodomex-$pkgver.tar.gz")
+
+md5sums=('5dc0ecb2ad2d5d7eb103081733fe1793')
+
+prepare() {
+ cp -a pycryptodomex-$pkgver{,-python2}
+}
+
+build() {
+ cd "$srcdir"/pycryptodomex-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pycryptodomex-$pkgver-python2
+ python2 setup.py build
+}
+
+package_python-pycryptodomex() {
+ depends=('python')
+
+ cd pycryptodomex-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-pycryptodomex() {
+ depends=('python2')
+
+ cd pycryptodomex-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
Copied: python-pycryptodomex/repos/community-x86_64/PKGBUILD (from rev 217209, python-pycryptodomex/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-03-19 00:23:43 UTC (rev 217210)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-pycryptodomex
+pkgname=(python-pycryptodomex python2-pycryptodomex)
+pkgver=3.4.5
+pkgrel=2
+
+pkgdesc='A self-contained Python package of low-level cryptographic primitives'
+url='http://www.pycryptodome.org/'
+arch=('x86_64' 'i686')
+license=('BSD')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/pycryptodomex/pycryptodomex-$pkgver.tar.gz")
+
+md5sums=('5dc0ecb2ad2d5d7eb103081733fe1793')
+
+prepare() {
+ cp -a pycryptodomex-$pkgver{,-python2}
+}
+
+build() {
+ cd "$srcdir"/pycryptodomex-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pycryptodomex-$pkgver-python2
+ python2 setup.py build
+}
+
+package_python-pycryptodomex() {
+ depends=('python')
+
+ cd pycryptodomex-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-pycryptodomex() {
+ depends=('python2')
+
+ cd pycryptodomex-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
More information about the arch-commits
mailing list