Date: Friday, August 17, 2018 @ 05:46:29 Author: felixonmars Revision: 372048
archrelease: copy trunk to community-any Added: python-rfc3987/repos/community-any/PKGBUILD (from rev 372046, python-rfc3987/trunk/PKGBUILD) Deleted: python-rfc3987/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-17 05:46:28 UTC (rev 372047) +++ PKGBUILD 2018-08-17 05:46:29 UTC (rev 372048) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Simon Sapin <simon dot sapin at exyr dot org> -# Contributor: Kyle Keen <keen...@gmail.com> - -pkgbase=python-rfc3987 -pkgname=(python-rfc3987 python2-rfc3987) -pkgver=1.3.7 -pkgrel=2 -pkgdesc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" -url="https://pypi.python.org/pypi/rfc3987" -license=('GPL') -arch=('any') -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -source=("https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz") -sha512sums=('c5fa8eb36358f7f42d12adc305031bfff7bd77e83316ad4458ed07acc6094c7d9109b95848b9296dcbc6677ce34aa59b1be8fd57dfcdc6be47eb92aeda51c518') - -prepare() { - cp -a rfc3987-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/rfc3987-$pkgver - python setup.py build - - cd "$srcdir"/rfc3987-$pkgver-py2 - python2 setup.py build -} - -package_python-rfc3987() { - depends=('python') - - cd rfc3987-$pkgver - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-rfc3987() { - depends=('python2') - - cd rfc3987-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-rfc3987/repos/community-any/PKGBUILD (from rev 372046, python-rfc3987/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-17 05:46:29 UTC (rev 372048) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Simon Sapin <simon dot sapin at exyr dot org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgbase=python-rfc3987 +pkgname=(python-rfc3987 python2-rfc3987) +pkgver=1.3.8 +pkgrel=1 +pkgdesc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" +url="https://pypi.python.org/pypi/rfc3987" +license=('GPL') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz") +sha512sums=('0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c') + +prepare() { + cp -a rfc3987-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/rfc3987-$pkgver + python setup.py build + + cd "$srcdir"/rfc3987-$pkgver-py2 + python2 setup.py build +} + +package_python-rfc3987() { + depends=('python') + + cd rfc3987-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-rfc3987() { + depends=('python2') + + cd rfc3987-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}