Date: Sunday, August 21, 2016 @ 15:38:35 Author: felixonmars Revision: 187246
archrelease: copy trunk to community-any Added: python-rfc3986/repos/community-any/PKGBUILD (from rev 187245, python-rfc3986/trunk/PKGBUILD) Deleted: python-rfc3986/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-08-21 15:38:19 UTC (rev 187245) +++ PKGBUILD 2016-08-21 15:38:35 UTC (rev 187246) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de> - -pkgbase=python-rfc3986 -pkgname=(python-rfc3986 python2-rfc3986) -pkgver=0.4.0 -pkgrel=1 -pkgdesc="Validating URI References per RFC 3986" -arch=('any') -license=('Apache') -url="https://rfc3986.readthedocs.org/" -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz") -md5sums=('1062c2561afc3d446a189a04bbe9e9ca') - -prepare() { - cp -a rfc3986-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/rfc3986-$pkgver - python setup.py build - - cd "$srcdir"/rfc3986-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/rfc3986-$pkgver - python setup.py ptr - - cd "$srcdir"/rfc3986-$pkgver-py2 - python2 setup.py ptr -} - -package_python-rfc3986() { - depends=('python') - - cd rfc3986-$pkgver - python setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-rfc3986() { - depends=('python2') - - cd rfc3986-$pkgver-py2 - python2 setup.py install --root="$pkgdir/" --optimize=1 -} Copied: python-rfc3986/repos/community-any/PKGBUILD (from rev 187245, python-rfc3986/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-08-21 15:38:35 UTC (rev 187246) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de> + +pkgbase=python-rfc3986 +pkgname=(python-rfc3986 python2-rfc3986) +pkgver=0.4.1 +pkgrel=1 +pkgdesc="Validating URI References per RFC 3986" +arch=('any') +license=('Apache') +url="https://rfc3986.readthedocs.org/" +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz") +md5sums=('b2b48cd36dabb82d5eaa54bbfb20d382') + +prepare() { + cp -a rfc3986-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/rfc3986-$pkgver + python setup.py build + + cd "$srcdir"/rfc3986-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/rfc3986-$pkgver + python setup.py ptr + + cd "$srcdir"/rfc3986-$pkgver-py2 + python2 setup.py ptr +} + +package_python-rfc3986() { + depends=('python') + + cd rfc3986-$pkgver + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-rfc3986() { + depends=('python2') + + cd rfc3986-$pkgver-py2 + python2 setup.py install --root="$pkgdir/" --optimize=1 +}