[arch-commits] Commit in python-soupsieve/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jul 27 20:41:01 UTC 2022
Date: Wednesday, July 27, 2022 @ 20:41:00
Author: arojas
Revision: 1258942
archrelease: copy trunk to community-any
Added:
python-soupsieve/repos/community-any/PKGBUILD
(from rev 1258941, python-soupsieve/trunk/PKGBUILD)
Deleted:
python-soupsieve/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-27 20:40:51 UTC (rev 1258941)
+++ PKGBUILD 2022-07-27 20:41:00 UTC (rev 1258942)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-soupsieve
-pkgver=2.3.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=('3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac')
-
-build() {
- cd soupsieve-$pkgver
- python setup.py build
-}
-
-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 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 1258941, python-soupsieve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-27 20:41:00 UTC (rev 1258942)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+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
+}
More information about the arch-commits
mailing list