Date: Saturday, May 13, 2023 @ 22:47:08
  Author: arojas
Revision: 1460780

archrelease: copy trunk to community-any

Added:
  woob/repos/community-any/PKGBUILD
    (from rev 1460779, woob/trunk/PKGBUILD)
Deleted:
  woob/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-13 22:46:58 UTC (rev 1460779)
+++ PKGBUILD    2023-05-13 22:47:08 UTC (rev 1460780)
@@ -1,54 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-
-pkgname=woob
-pkgver=3.2
-pkgrel=2
-pkgdesc="Core library and modules for Web outside of Browsers"
-arch=(any)
-url="https://woob.tech/";
-license=(LGPL3)
-depends=(
-    python-lxml
-    python-cssselect
-    python-requests
-    python-dateutil
-    python-yaml
-    python-html2text
-    python-six
-    python-unidecode
-    python-pillow
-    python-babel
-    python-simplejson
-)
-optdepends=(
-    'python-colorama: CLI usage'
-    'python-prettytable: CLI output formatting'
-    'python-feedparser: required by some modules'
-    'python-jose: required by some modules'
-    'python-pycryptodome: required by some modules'
-    'python-google-api-python-client: multiple Google services like YouTube'
-)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-prettytable)
-replaces=(weboob)
-provides=(weboob)
-conflicts=(weboob)
-source=(https://files.pythonhosted.org/packages/source/w/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('f3207daa894153af6e21cad8dc99ad4d68915de7316515421d8009cb90ada780')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  pytest -vv --color=yes
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  rm -r "${pkgdir}"/${site_packages}/tests
-}

Copied: woob/repos/community-any/PKGBUILD (from rev 1460779, 
woob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-13 22:47:08 UTC (rev 1460780)
@@ -0,0 +1,54 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+pkgname=woob
+pkgver=3.5
+pkgrel=1
+pkgdesc="Core library and modules for Web outside of Browsers"
+arch=(any)
+url="https://woob.tech/";
+license=(LGPL3)
+depends=(
+    python-lxml
+    python-cssselect
+    python-requests
+    python-dateutil
+    python-yaml
+    python-html2text
+    python-six
+    python-unidecode
+    python-pillow
+    python-babel
+    python-simplejson
+    python-pycountry
+)
+optdepends=(
+    'python-colorama: CLI usage'
+    'python-prettytable: CLI output formatting'
+    'python-feedparser: required by some modules'
+    'python-jose: required by some modules'
+    'python-pycryptodome: required by some modules'
+    'python-google-api-python-client: multiple Google services like YouTube'
+)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest python-prettytable)
+replaces=(weboob)
+provides=(weboob)
+conflicts=(weboob)
+#source=(https://files.pythonhosted.org/packages/source/w/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(https://gitlab.com/woob/woob/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a3927c5421a5f7af6fc21c79f8e0c7456685125eae88aede0aecb9773176d0b4')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  pytest -vv --color=yes
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+}

Reply via email to