Date: Friday, May 26, 2017 @ 17:09:47 Author: felixonmars Revision: 296654
archrelease: copy trunk to extra-i686, extra-x86_64 Added: python-cryptography/repos/extra-i686/PKGBUILD (from rev 296653, python-cryptography/trunk/PKGBUILD) python-cryptography/repos/extra-x86_64/PKGBUILD (from rev 296653, python-cryptography/trunk/PKGBUILD) Deleted: python-cryptography/repos/extra-i686/PKGBUILD python-cryptography/repos/extra-x86_64/PKGBUILD -----------------------+ /PKGBUILD | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 55 ------------------------ extra-x86_64/PKGBUILD | 55 ------------------------ 3 files changed, 110 insertions(+), 110 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2017-05-26 17:09:18 UTC (rev 296653) +++ extra-i686/PKGBUILD 2017-05-26 17:09:47 UTC (rev 296654) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography -pkgname=('python-cryptography' 'python2-cryptography') -pkgver=1.8.1 -pkgrel=4 -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' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna' - 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver" - "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601' - 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis' - 'python-pytz' 'python2-pytz') -source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz") -md5sums=('9f28a9c141995cd2300d0976b4fac3fb') - -prepare() { - cp -a cryptography-${pkgver}{,-python2} -} - -build() { - cd "$srcdir"/cryptography-$pkgver - python setup.py build - - cd "$srcdir"/cryptography-$pkgver-python2 - python2 setup.py build -} - -check() { - cd "$srcdir"/cryptography-$pkgver - python setup.py pytest - - cd "$srcdir"/cryptography-$pkgver-python2 - python2 setup.py pytest -} - -package_python-cryptography() { - depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto') - - cd cryptography-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} - -package_python2-cryptography() { - depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress' - 'python2-setuptools' 'python2-asn1crypto') - - cd cryptography-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-cryptography/repos/extra-i686/PKGBUILD (from rev 296653, python-cryptography/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2017-05-26 17:09:47 UTC (rev 296654) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography +pkgname=('python-cryptography' 'python2-cryptography') +pkgver=1.8.2 +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' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna' + 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver" + "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601' + 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis' + 'python-pytz' 'python2-pytz') +source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz") +sha512sums=('d9b60979411fa1dca62e947fb1f8627f339d6321eecdda10e4f3617fa0d8c512e6357dbabf599ba538031ad77a82b942da1e1a6bc226a99c06198ecf25fb8fd5') + +prepare() { + cp -a cryptography-${pkgver}{,-python2} +} + +build() { + cd "$srcdir"/cryptography-$pkgver + python setup.py build + + cd "$srcdir"/cryptography-$pkgver-python2 + python2 setup.py build +} + +check() { + cd "$srcdir"/cryptography-$pkgver + python setup.py pytest + + cd "$srcdir"/cryptography-$pkgver-python2 + python2 setup.py pytest +} + +package_python-cryptography() { + depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto') + + cd cryptography-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + +package_python2-cryptography() { + depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress' + 'python2-setuptools' 'python2-asn1crypto') + + cd cryptography-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2017-05-26 17:09:18 UTC (rev 296653) +++ extra-x86_64/PKGBUILD 2017-05-26 17:09:47 UTC (rev 296654) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-cryptography -pkgname=('python-cryptography' 'python2-cryptography') -pkgver=1.8.1 -pkgrel=4 -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' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna' - 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver" - "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601' - 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis' - 'python-pytz' 'python2-pytz') -source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz") -md5sums=('9f28a9c141995cd2300d0976b4fac3fb') - -prepare() { - cp -a cryptography-${pkgver}{,-python2} -} - -build() { - cd "$srcdir"/cryptography-$pkgver - python setup.py build - - cd "$srcdir"/cryptography-$pkgver-python2 - python2 setup.py build -} - -check() { - cd "$srcdir"/cryptography-$pkgver - python setup.py pytest - - cd "$srcdir"/cryptography-$pkgver-python2 - python2 setup.py pytest -} - -package_python-cryptography() { - depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto') - - cd cryptography-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} - -package_python2-cryptography() { - depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress' - 'python2-setuptools' 'python2-asn1crypto') - - cd cryptography-$pkgver-python2 - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-cryptography/repos/extra-x86_64/PKGBUILD (from rev 296653, python-cryptography/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2017-05-26 17:09:47 UTC (rev 296654) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-cryptography +pkgname=('python-cryptography' 'python2-cryptography') +pkgver=1.8.2 +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' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna' + 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver" + "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601' + 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis' + 'python-pytz' 'python2-pytz') +source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz") +sha512sums=('d9b60979411fa1dca62e947fb1f8627f339d6321eecdda10e4f3617fa0d8c512e6357dbabf599ba538031ad77a82b942da1e1a6bc226a99c06198ecf25fb8fd5') + +prepare() { + cp -a cryptography-${pkgver}{,-python2} +} + +build() { + cd "$srcdir"/cryptography-$pkgver + python setup.py build + + cd "$srcdir"/cryptography-$pkgver-python2 + python2 setup.py build +} + +check() { + cd "$srcdir"/cryptography-$pkgver + python setup.py pytest + + cd "$srcdir"/cryptography-$pkgver-python2 + python2 setup.py pytest +} + +package_python-cryptography() { + depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto') + + cd cryptography-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + +package_python2-cryptography() { + depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress' + 'python2-setuptools' 'python2-asn1crypto') + + cd cryptography-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build +}