[arch-commits] Commit in python-soupsieve/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jul 31 20:14:55 UTC 2020


    Date: Friday, July 31, 2020 @ 20:14:55
  Author: felixonmars
Revision: 666403

archrelease: copy trunk to community-any

Added:
  python-soupsieve/repos/community-any/PKGBUILD
    (from rev 666402, python-soupsieve/trunk/PKGBUILD)
Deleted:
  python-soupsieve/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 31 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 20:14:48 UTC (rev 666402)
+++ PKGBUILD	2020-07-31 20:14:55 UTC (rev 666403)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-soupsieve
-pkgname=(python-soupsieve python2-soupsieve)
-pkgver=1.9.6
-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=('44954cdedc16a51c794ebe6770caeb8f179167ad2f0a0478cb1efd5878d6cc49fffd6119125964b19184afa6d0d7dedadb81dee020a48c5128ccf56e36a78f61')
-
-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 666402, python-soupsieve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-31 20:14:55 UTC (rev 666403)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-soupsieve
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="A CSS4 selector implementation for Beautiful Soup"
+url="https://github.com/facelessuser/soupsieve"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-html5lib' 'python-lxml')
+source=("https://github.com/facelessuser/soupsieve/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f4ef4deee81bb31952e1d3216250712f09b425e7a2253e15bd1b38cb74b680e421e7d086a8770737898f6b57867f07f2dd07b8a98108d05e338bce92b274b85f')
+
+build() {
+  cd soupsieve-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd soupsieve-$pkgver
+  pytest
+}
+
+package() {
+  cd soupsieve-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}



More information about the arch-commits mailing list