Date: Thursday, November 9, 2017 @ 09:07:43 Author: felixonmars Revision: 265831
archrelease: copy trunk to community-any Added: python-text-unidecode/repos/community-any/PKGBUILD (from rev 265830, python-text-unidecode/trunk/PKGBUILD) Deleted: python-text-unidecode/repos/community-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-09 09:07:20 UTC (rev 265830) +++ PKGBUILD 2017-11-09 09:07:43 UTC (rev 265831) @@ -1,51 +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-text-unidecode -pkgname=(python-text-unidecode python2-text-unidecode) -pkgver=1.0 -pkgrel=1 -pkgdesc="The most basic Text::Unidecode port" -url="https://github.com/kmike/text-unidecode" -license=('PerlArtistic') -arch=('any') -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -source=("https://pypi.io/packages/source/t/text-unidecode/text-unidecode-$pkgver.tar.gz") -md5sums=('e8b5b7be1bf6107888db15359893383f') - -prepare() { - cp -a text-unidecode-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/text-unidecode-$pkgver - python setup.py build - - cd "$srcdir"/text-unidecode-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/text-unidecode-$pkgver - python setup.py pytest - - cd "$srcdir"/text-unidecode-$pkgver-py2 - python2 setup.py pytest -} - -package_python-text-unidecode() { - depends=('python') - - cd text-unidecode-$pkgver - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-text-unidecode() { - depends=('python2') - - cd text-unidecode-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-text-unidecode/repos/community-any/PKGBUILD (from rev 265830, python-text-unidecode/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-09 09:07:43 UTC (rev 265831) @@ -0,0 +1,51 @@ +# $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-text-unidecode +pkgname=(python-text-unidecode python2-text-unidecode) +pkgver=1.1 +pkgrel=1 +pkgdesc="The most basic Text::Unidecode port" +url="https://github.com/kmike/text-unidecode" +license=('PerlArtistic') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("https://pypi.io/packages/source/t/text-unidecode/text-unidecode-$pkgver.tar.gz") +sha512sums=('e799ff7164de06db17e441d3a6428c20d434069ce49344e037ea2dbb63416044691652720328f86f22c59e2303d435e9e321658b2ae4bee76916e6157e9f7fe7') + +prepare() { + cp -a text-unidecode-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/text-unidecode-$pkgver + python setup.py build + + cd "$srcdir"/text-unidecode-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/text-unidecode-$pkgver + python setup.py pytest + + cd "$srcdir"/text-unidecode-$pkgver-py2 + python2 setup.py pytest +} + +package_python-text-unidecode() { + depends=('python') + + cd text-unidecode-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-text-unidecode() { + depends=('python2') + + cd text-unidecode-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +}