Date: Thursday, February 16, 2023 @ 06:37:25
  Author: grawlinson
Revision: 1400759

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 51 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-16 06:36:37 UTC (rev 1400758)
+++ PKGBUILD    2023-02-16 06:37:25 UTC (rev 1400759)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-soupsieve
-pkgver=2.3.2.post1
-pkgrel=1
-pkgdesc="A CSS4 selector implementation for Beautiful Soup"
-url="https://github.com/facelessuser/soupsieve";
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-hatchling')
-checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-html5lib' 
'python-lxml')
-source=("https://github.com/facelessuser/soupsieve/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a')
-
-build() {
-  cd soupsieve-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd soupsieve-$pkgver
-  # https://gitlab.gnome.org/GNOME/libxml2/-/issues/312
-  pytest \
-    --deselect 
tests/test_extra/test_soup_contains.py::TestSoupContains::test_contains_cdata_html
 \
-    --deselect 
tests/test_extra/test_soup_contains_own.py::TestSoupContainsOwn::test_contains_own_cdata_html
-}
-
-package() {
-  cd soupsieve-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}

Copied: python-soupsieve/repos/community-any/PKGBUILD (from rev 1400758, 
python-soupsieve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-16 06:37:25 UTC (rev 1400759)
@@ -0,0 +1,51 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=python-soupsieve
+pkgver=2.4
+pkgrel=1
+pkgdesc='A CSS4 selector implementation for Beautiful Soup'
+arch=('any')
+url='https://github.com/facelessuser/soupsieve'
+license=('MIT')
+depends=('python')
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-hatchling'
+)
+checkdepends=('python-pytest' 'python-beautifulsoup4' 'python-html5lib' 
'python-lxml')
+_commit='8305a0fc6417458bc72b00a58b55c25b226cc763'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+
+  # https://gitlab.gnome.org/GNOME/libxml2/-/issues/312
+  pytest \
+    --deselect 
tests/test_extra/test_soup_contains.py::TestSoupContains::test_contains_cdata_html
 \
+    --deselect 
tests/test_extra/test_soup_contains_own.py::TestSoupContainsOwn::test_contains_own_cdata_html
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+}

Reply via email to