Date: Monday, June 24, 2019 @ 05:02:13 Author: felixonmars Revision: 483380
archrelease: copy trunk to community-any Added: python-soupsieve/repos/community-any/PKGBUILD (from rev 483379, python-soupsieve/trunk/PKGBUILD) Deleted: python-soupsieve/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-24 05:02:02 UTC (rev 483379) +++ PKGBUILD 2019-06-24 05:02:13 UTC (rev 483380) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-soupsieve -pkgname=(python-soupsieve python2-soupsieve) -pkgver=1.9.1 -pkgrel=2 -pkgdesc="A CSS4 selector implementation for Beautiful Soup" -url="https://github.com/facelessuser/soupsieve" -license=('MIT') -arch=('any') -makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.functools_lru_cache') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-beautifulsoup4' - 'python2-beautifulsoup4' 'python-html5lib' 'python2-html5lib' 'python-lxml' - 'python2-lxml') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/facelessuser/soupsieve/archive/$pkgver.tar.gz") -sha512sums=('3c1d48a1590a88a5c39cb1881905465b4e3042d1ef14e20c451e741c886855f38f0ff4a1e9772795927f6c2b27889ef30e64bbc2b79f5c6221dc5e5beb155531') - -build() { - cd soupsieve-$pkgver - python setup.py build - python2 setup.py build -} - -check() { - cd soupsieve-$pkgver - python setup.py pytest - python2 setup.py pytest -} - -package_python-soupsieve() { - depends=('python') - - cd soupsieve-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md -} - -package_python2-soupsieve() { - depends=('python2-backports.functools_lru_cache') - - cd soupsieve-$pkgver - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md -} Copied: python-soupsieve/repos/community-any/PKGBUILD (from rev 483379, python-soupsieve/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-24 05:02:13 UTC (rev 483380) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-soupsieve +pkgname=(python-soupsieve python2-soupsieve) +pkgver=1.9.2 +pkgrel=1 +pkgdesc="A CSS4 selector implementation for Beautiful Soup" +url="https://github.com/facelessuser/soupsieve" +license=('MIT') +arch=('any') +makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.functools_lru_cache') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-beautifulsoup4' + 'python2-beautifulsoup4' 'python-html5lib' 'python2-html5lib' 'python-lxml' + 'python2-lxml') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/facelessuser/soupsieve/archive/$pkgver.tar.gz") +sha512sums=('f39b0aaabfc5d71ea005eb21944d9c1107031980a8e167ad2403580ca03c79b57aba0cc54c13dc0b579e3cff61e641052f2d68bdfa8c81e64aee2cdd23a1c35a') + +build() { + cd soupsieve-$pkgver + python setup.py build + python2 setup.py build +} + +check() { + cd soupsieve-$pkgver + python setup.py pytest + python2 setup.py pytest +} + +package_python-soupsieve() { + depends=('python') + + cd soupsieve-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md +} + +package_python2-soupsieve() { + depends=('python2-backports.functools_lru_cache') + + cd soupsieve-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md +}