[arch-commits] Commit in python-pysaml2/repos/community-any (PKGBUILD PKGBUILD)

Johannes Löthberg demize at archlinux.org
Tue Jan 1 18:02:09 UTC 2019


    Date: Tuesday, January 1, 2019 @ 18:02:08
  Author: demize
Revision: 420203

archrelease: copy trunk to community-any

Added:
  python-pysaml2/repos/community-any/PKGBUILD
    (from rev 420202, python-pysaml2/trunk/PKGBUILD)
Deleted:
  python-pysaml2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  152 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-01 18:02:04 UTC (rev 420202)
+++ PKGBUILD	2019-01-01 18:02:08 UTC (rev 420203)
@@ -1,76 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-
-pkgbase=python-pysaml2
-pkgname=(python-pysaml2 python2-pysaml2)
-pkgver=4.6.2
-pkgrel=1
-
-pkgdesc='Python implementation of SAML Version 2'
-url='https://pypi.python.org/pypi/pysaml2'
-arch=('any')
-license=('Apache')
-
-makedepends=('python-setuptools'
-             'python2-setuptools')
-
-source=("https://pypi.org/packages/source/p/pysaml2/pysaml2-$pkgver.tar.gz")
-
-md5sums=('bb0f9673ab9e5ca17dc49ed7e414e531')
-
-prepare() {
-	cp -a pysaml2-$pkgver{,-python2}
-}
-
-build() {
-	cd "$srcdir"/pysaml2-$pkgver
-	python setup.py build
-
-	cd "$srcdir"/pysaml2-$pkgver-python2
-	python2 setup.py build
-}
-
-check() {
-	cd "$srcdir"/pysaml2-$pkgver
-	python setup.py test
-
-	cd "$srcdir"/pysaml2-$pkgver-python2
-	python setup.py test
-}
-
-package_python-pysaml2() {
-	depends=('python'
-	         'python-future'
-	         'python-requests'
-	         'python-zope-interface'
-	         'python-pycryptodomex'
-	         'python-pytz'
-	         'python-pyopenssl'
-	         'python-dateutil'
-	         'python-six'
-	         'python-defusedxml')
-
-	cd pysaml2-$pkgver
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-pysaml2() {
-	depends=('python2'
-	         'python2-future'
-	         'python2-requests'
-	         'python2-zope-interface'
-	         'python2-pycryptodomex'
-	         'python2-pytz'
-	         'python2-pyopenssl'
-	         'python2-dateutil'
-	         'python2-six'
-	         'python2-defusedxml')
-
-	cd pysaml2-$pkgver-python2
-	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-	# rename all executables
-	find "$pkgdir"/usr/bin -type f -exec mv {} {}2 \;
-}
-
-# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :

Copied: python-pysaml2/repos/community-any/PKGBUILD (from rev 420202, python-pysaml2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-01 18:02:08 UTC (rev 420203)
@@ -0,0 +1,76 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-pysaml2
+pkgname=(python-pysaml2 python2-pysaml2)
+pkgver=4.6.5
+pkgrel=1
+
+pkgdesc='Python implementation of SAML Version 2'
+url='https://pypi.python.org/pypi/pysaml2'
+arch=('any')
+license=('Apache')
+
+makedepends=('python-setuptools'
+             'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/pysaml2/pysaml2-$pkgver.tar.gz")
+
+md5sums=('fdbb0196d778808c531677c9c978af31')
+
+prepare() {
+	cp -a pysaml2-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/pysaml2-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/pysaml2-$pkgver-python2
+	python2 setup.py build
+}
+
+check() {
+	cd "$srcdir"/pysaml2-$pkgver
+	python setup.py test
+
+	cd "$srcdir"/pysaml2-$pkgver-python2
+	python setup.py test
+}
+
+package_python-pysaml2() {
+	depends=('python'
+	         'python-future'
+	         'python-requests'
+	         'python-zope-interface'
+	         'python-pycryptodomex'
+	         'python-pytz'
+	         'python-pyopenssl'
+	         'python-dateutil'
+	         'python-six'
+	         'python-defusedxml')
+
+	cd pysaml2-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-pysaml2() {
+	depends=('python2'
+	         'python2-future'
+	         'python2-requests'
+	         'python2-zope-interface'
+	         'python2-pycryptodomex'
+	         'python2-pytz'
+	         'python2-pyopenssl'
+	         'python2-dateutil'
+	         'python2-six'
+	         'python2-defusedxml')
+
+	cd pysaml2-$pkgver-python2
+	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	# rename all executables
+	find "$pkgdir"/usr/bin -type f -exec mv {} {}2 \;
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :


More information about the arch-commits mailing list