[arch-commits] Commit in python-service-identity/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Mon Jun 16 01:16:50 UTC 2014


    Date: Monday, June 16, 2014 @ 03:16:50
  Author: fyan
Revision: 215181

archrelease: copy trunk to extra-any

Added:
  python-service-identity/repos/extra-any/PKGBUILD
    (from rev 215180, python-service-identity/trunk/PKGBUILD)
Deleted:
  python-service-identity/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-16 01:16:00 UTC (rev 215180)
+++ PKGBUILD	2014-06-16 01:16:50 UTC (rev 215181)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-
-pkgbase=python-service-identity
-pkgname=('python-service-identity' 'python2-service-identity')
-pkgver=0.2
-pkgrel=1
-pkgdesc="Service identity verification for pyOpenSSL"
-arch=('any')
-license=('MIT')
-url="http://pypi.python.org/pypi/service_identity"
-makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 'python2-pyasn1'
-             'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 'python2-pyasn1-modules')
-source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-${pkgver}.tar.gz")
-md5sums=('5fd2b5103291e71b3afe23aaeefb89f2')
-
-prepare() {
-   cp -a service_identity-${pkgver}{,-python2}
-}
-
-build() {
-   # Build python 3 module
-   cd service_identity-${pkgver}
-   python3 setup.py build
- 
-   # Build python 2 module
-   cd ../service_identity-${pkgver}-python2
-   python2 setup.py build
-}
-
-check() {
-   # Check python3 module
-   cd "${srcdir}"/service_identity-${pkgver}
-   python3 setup.py test
-
-   # Check python2 module
-   cd "${srcdir}"/service_identity-${pkgver}-python2
-   python2 setup.py test
-}
- 
-package_python-service-identity() {
-   depends=('python' 'python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules')
- 
-   cd service_identity-${pkgver}
-   python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
- 
-package_python2-service-identity() {
-   depends=('python2' 'python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules')
- 
-   cd service_identity-${pkgver}-python2
-   python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-service-identity/repos/extra-any/PKGBUILD (from rev 215180, python-service-identity/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-06-16 01:16:50 UTC (rev 215181)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="http://pypi.python.org/pypi/service_identity"
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 'python2-pyasn1'
+             'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 'python2-pyasn1-modules'
+             'python-characteristic' 'python2-characteristic')
+source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-${pkgver}.tar.gz")
+md5sums=('437c380ce0fe85a0fbc4780a86b3ee58')
+
+prepare() {
+   cp -a service_identity-${pkgver}{,-python2}
+}
+
+build() {
+   # Build python 3 module
+   cd service_identity-${pkgver}
+   python3 setup.py build
+ 
+   # Build python 2 module
+   cd ../service_identity-${pkgver}-python2
+   python2 setup.py build
+}
+
+check() {
+   # Check python3 module
+   cd "${srcdir}"/service_identity-${pkgver}
+   python3 setup.py test
+
+   # Check python2 module
+   cd "${srcdir}"/service_identity-${pkgver}-python2
+   python2 setup.py test
+}
+ 
+package_python-service-identity() {
+   depends=('python' 'python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 'python-characteristic')
+ 
+   cd service_identity-${pkgver}
+   python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+ 
+package_python2-service-identity() {
+   depends=('python2' 'python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 'python2-characteristic')
+ 
+   cd service_identity-${pkgver}-python2
+   python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list