Date: Thursday, October 29, 2015 @ 14:18:56 Author: kkeen Revision: 145252
archrelease: copy trunk to community-i686, community-x86_64 Added: python-tinycss/repos/community-i686/ python-tinycss/repos/community-i686/PKGBUILD (from rev 145251, python-tinycss/trunk/PKGBUILD) python-tinycss/repos/community-x86_64/ python-tinycss/repos/community-x86_64/PKGBUILD (from rev 145251, python-tinycss/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: python-tinycss/repos/community-i686/PKGBUILD (from rev 145251, python-tinycss/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-10-29 13:18:56 UTC (rev 145252) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Simon Sapin <simon dot sapin at exyr dot org> +# Contributor: Kyle Keen <keen...@gmail.com> +pkgbase=python-tinycss +pkgname=(python-tinycss python2-tinycss) +_pypi_name='tinycss' +pkgver=0.3 +pkgrel=1 +pkgdesc="A complete yet simple CSS parser for Python." +url="https://pypi.python.org/pypi/tinycss" +license=('BSD') +arch=('i686' 'x86_64') +makedepends=('python' 'python-setuptools' 'cython' + 'python2' 'python2-setuptools' 'cython2') +depends=('python') + +source=("http://pypi.python.org/packages/source/t/tinycss/tinycss-$pkgver.tar.gz") +md5sums=('13999e54453d4fbc9d1539f4b95d235e') + +prepare() { + cd "$srcdir" + cp -r $_pypi_name-$pkgver py2-$_pypi_name-$pkgver +} + +package_python-tinycss() { + depends=('python') + cd "$srcdir/$_pypi_name-$pkgver" + python3 setup.py install --root="$pkgdir/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-tinycss() { + depends=('python2') + cd "$srcdir/py2-$_pypi_name-$pkgver" + python2 setup.py install --root="$pkgdir/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Copied: python-tinycss/repos/community-x86_64/PKGBUILD (from rev 145251, python-tinycss/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-10-29 13:18:56 UTC (rev 145252) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Simon Sapin <simon dot sapin at exyr dot org> +# Contributor: Kyle Keen <keen...@gmail.com> +pkgbase=python-tinycss +pkgname=(python-tinycss python2-tinycss) +_pypi_name='tinycss' +pkgver=0.3 +pkgrel=1 +pkgdesc="A complete yet simple CSS parser for Python." +url="https://pypi.python.org/pypi/tinycss" +license=('BSD') +arch=('i686' 'x86_64') +makedepends=('python' 'python-setuptools' 'cython' + 'python2' 'python2-setuptools' 'cython2') +depends=('python') + +source=("http://pypi.python.org/packages/source/t/tinycss/tinycss-$pkgver.tar.gz") +md5sums=('13999e54453d4fbc9d1539f4b95d235e') + +prepare() { + cd "$srcdir" + cp -r $_pypi_name-$pkgver py2-$_pypi_name-$pkgver +} + +package_python-tinycss() { + depends=('python') + cd "$srcdir/$_pypi_name-$pkgver" + python3 setup.py install --root="$pkgdir/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-tinycss() { + depends=('python2') + cd "$srcdir/py2-$_pypi_name-$pkgver" + python2 setup.py install --root="$pkgdir/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}