Date: Thursday, August 16, 2018 @ 11:39:48 Author: felixonmars Revision: 371942
archrelease: copy trunk to community-any Added: python-certifi/repos/community-any/PKGBUILD (from rev 371941, python-certifi/trunk/PKGBUILD) Deleted: python-certifi/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-16 11:39:23 UTC (rev 371941) +++ PKGBUILD 2018-08-16 11:39:48 UTC (rev 371942) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: William J Bowman <bluephoeni...@gmail.com> - -pkgbase=python-certifi -pkgname=('python-certifi' 'python2-certifi') -_libname=${pkgbase/python-/} -pkgver=2018.4.16 -pkgrel=2 -pkgdesc="Python package for providing Mozilla's CA Bundle" -arch=(any) -url="http://pypi.python.org/pypi/certifi" -license=('GPL') -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz") -sha512sums=('96369b318df9592ed4ff48d79ae695f89d27d85e8f5de72548fccb19ac15b83a33fb8bc096a3092d7a7f5b201af08805576888418c7927cf48b892df56464682') - -prepare() { - cp -a $_libname-$pkgver{,-py2} - - cd $_libname-$pkgver-py2 - sed -i '1s|python$|python2|' certifi/core.py -} - -build() { - cd "$srcdir/$_libname-$pkgver" - python setup.py build - - cd "$srcdir/$_libname-$pkgver-py2" - python2 setup.py build -} - -package_python-certifi() { - depends=('python') - - cd "$srcdir/$_libname-$pkgver" - python setup.py install --skip-build -O1 --root="$pkgdir" - install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-certifi() { - depends=('python2') - - cd "$srcdir/$_libname-$pkgver-py2" - python2 setup.py install --skip-build -O1 --root="$pkgdir" - install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-certifi/repos/community-any/PKGBUILD (from rev 371941, python-certifi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-16 11:39:48 UTC (rev 371942) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: William J Bowman <bluephoeni...@gmail.com> + +pkgbase=python-certifi +pkgname=('python-certifi' 'python2-certifi') +_libname=${pkgbase/python-/} +pkgver=2018.8.13 +pkgrel=1 +pkgdesc="Python package for providing Mozilla's CA Bundle" +arch=(any) +url="http://pypi.python.org/pypi/certifi" +license=('GPL') +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz") +sha512sums=('c051fa1a883182390d16c9e03706c7a6305eb1cf0c258f1419668f397844eaa53be5dcdd7f3e2239395a93eae401d873b4c536b2b1939f117fb4029b0c23c872') + +prepare() { + cp -a $_libname-$pkgver{,-py2} + + cd $_libname-$pkgver-py2 + sed -i '1s|python$|python2|' certifi/core.py +} + +build() { + cd "$srcdir/$_libname-$pkgver" + python setup.py build + + cd "$srcdir/$_libname-$pkgver-py2" + python2 setup.py build +} + +package_python-certifi() { + depends=('python') + + cd "$srcdir/$_libname-$pkgver" + python setup.py install --skip-build -O1 --root="$pkgdir" + install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-certifi() { + depends=('python2') + + cd "$srcdir/$_libname-$pkgver-py2" + python2 setup.py install --skip-build -O1 --root="$pkgdir" + install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}