Date: Tuesday, July 8, 2014 @ 17:23:33 Author: fyan Revision: 216636 archrelease: copy trunk to testing-i686, testing-x86_64
Added: python-cryptography/repos/testing-i686/PKGBUILD (from rev 216635, python-cryptography/trunk/PKGBUILD) python-cryptography/repos/testing-x86_64/PKGBUILD (from rev 216635, python-cryptography/trunk/PKGBUILD) Deleted: python-cryptography/repos/testing-i686/PKGBUILD python-cryptography/repos/testing-x86_64/PKGBUILD -------------------------+ /PKGBUILD | 108 ++++++++++++++++++++++++++++++++++++++++++++++ testing-i686/PKGBUILD | 54 ----------------------- testing-x86_64/PKGBUILD | 54 ----------------------- 3 files changed, 108 insertions(+), 108 deletions(-) Deleted: testing-i686/PKGBUILD =================================================================== --- testing-i686/PKGBUILD 2014-07-08 15:23:01 UTC (rev 216635) +++ testing-i686/PKGBUILD 2014-07-08 15:23:33 UTC (rev 216636) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> - -pkgbase=python-cryptography -pkgname=('python-cryptography' 'python2-cryptography') -pkgver=0.5 -pkgrel=1 -pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers" -arch=('i686' 'x86_64') -license=('Apache') -url="http://pypi.python.org/pypi/cryptography" -makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi' 'python2-cffi') -checkdepends=('python-pytest' 'python2-pytest' 'python-cryptography-vectors' 'python2-cryptography-vectors' - 'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend' 'python-pyasn1' 'python2-pyasn1') -source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz") -md5sums=('584e5be4cc02be01e04d0fbdd5ea1e72') - -prepare() { - cp -a cryptography-${pkgver}{,-python2} -} - -build() { - # Build python 3 module - cd cryptography-${pkgver} - python3 setup.py build - - # Build python 2 module - cd ../cryptography-${pkgver}-python2 - python2 setup.py build -} - -check() { - # Check python3 module - cd "${srcdir}"/cryptography-${pkgver} - python3 setup.py test - - # Check python2 module - cd "${srcdir}"/cryptography-${pkgver}-python2 - python2 setup.py test -} - -package_python-cryptography() { - depends=('python' 'python-six' 'python-cffi') - - cd cryptography-${pkgver} - python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build -} - -package_python2-cryptography() { - depends=('python2' 'python2-six' 'python2-cffi') - - cd cryptography-${pkgver}-python2 - python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build -} Copied: python-cryptography/repos/testing-i686/PKGBUILD (from rev 216635, python-cryptography/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-07-08 15:23:33 UTC (rev 216636) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=python-cryptography +pkgname=('python-cryptography' 'python2-cryptography') +pkgver=0.5.1 +pkgrel=1 +pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers" +arch=('i686' 'x86_64') +license=('Apache') +url="http://pypi.python.org/pypi/cryptography" +makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi' 'python2-cffi') +checkdepends=('python-pytest' 'python2-pytest' 'python-cryptography-vectors' 'python2-cryptography-vectors' + 'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend' 'python-pyasn1' 'python2-pyasn1') +source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz") +md5sums=('4b3239bc741e28e42e7aceee9d7e7d54') + +prepare() { + cp -a cryptography-${pkgver}{,-python2} +} + +build() { + # Build python 3 module + cd cryptography-${pkgver} + python3 setup.py build + + # Build python 2 module + cd ../cryptography-${pkgver}-python2 + python2 setup.py build +} + +check() { + # Check python3 module + cd "${srcdir}"/cryptography-${pkgver} + python3 setup.py test + + # Check python2 module + cd "${srcdir}"/cryptography-${pkgver}-python2 + python2 setup.py test +} + +package_python-cryptography() { + depends=('python' 'python-six' 'python-cffi') + + cd cryptography-${pkgver} + python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + +package_python2-cryptography() { + depends=('python2' 'python2-six' 'python2-cffi') + + cd cryptography-${pkgver}-python2 + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} Deleted: testing-x86_64/PKGBUILD =================================================================== --- testing-x86_64/PKGBUILD 2014-07-08 15:23:01 UTC (rev 216635) +++ testing-x86_64/PKGBUILD 2014-07-08 15:23:33 UTC (rev 216636) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> - -pkgbase=python-cryptography -pkgname=('python-cryptography' 'python2-cryptography') -pkgver=0.5 -pkgrel=1 -pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers" -arch=('i686' 'x86_64') -license=('Apache') -url="http://pypi.python.org/pypi/cryptography" -makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi' 'python2-cffi') -checkdepends=('python-pytest' 'python2-pytest' 'python-cryptography-vectors' 'python2-cryptography-vectors' - 'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend' 'python-pyasn1' 'python2-pyasn1') -source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz") -md5sums=('584e5be4cc02be01e04d0fbdd5ea1e72') - -prepare() { - cp -a cryptography-${pkgver}{,-python2} -} - -build() { - # Build python 3 module - cd cryptography-${pkgver} - python3 setup.py build - - # Build python 2 module - cd ../cryptography-${pkgver}-python2 - python2 setup.py build -} - -check() { - # Check python3 module - cd "${srcdir}"/cryptography-${pkgver} - python3 setup.py test - - # Check python2 module - cd "${srcdir}"/cryptography-${pkgver}-python2 - python2 setup.py test -} - -package_python-cryptography() { - depends=('python' 'python-six' 'python-cffi') - - cd cryptography-${pkgver} - python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build -} - -package_python2-cryptography() { - depends=('python2' 'python2-six' 'python2-cffi') - - cd cryptography-${pkgver}-python2 - python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build -} Copied: python-cryptography/repos/testing-x86_64/PKGBUILD (from rev 216635, python-cryptography/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-07-08 15:23:33 UTC (rev 216636) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=python-cryptography +pkgname=('python-cryptography' 'python2-cryptography') +pkgver=0.5.1 +pkgrel=1 +pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers" +arch=('i686' 'x86_64') +license=('Apache') +url="http://pypi.python.org/pypi/cryptography" +makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi' 'python2-cffi') +checkdepends=('python-pytest' 'python2-pytest' 'python-cryptography-vectors' 'python2-cryptography-vectors' + 'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend' 'python-pyasn1' 'python2-pyasn1') +source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz") +md5sums=('4b3239bc741e28e42e7aceee9d7e7d54') + +prepare() { + cp -a cryptography-${pkgver}{,-python2} +} + +build() { + # Build python 3 module + cd cryptography-${pkgver} + python3 setup.py build + + # Build python 2 module + cd ../cryptography-${pkgver}-python2 + python2 setup.py build +} + +check() { + # Check python3 module + cd "${srcdir}"/cryptography-${pkgver} + python3 setup.py test + + # Check python2 module + cd "${srcdir}"/cryptography-${pkgver}-python2 + python2 setup.py test +} + +package_python-cryptography() { + depends=('python' 'python-six' 'python-cffi') + + cd cryptography-${pkgver} + python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + +package_python2-cryptography() { + depends=('python2' 'python2-six' 'python2-cffi') + + cd cryptography-${pkgver}-python2 + python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build +}