Date: Sunday, December 25, 2022 @ 14:42:47
  Author: archange
Revision: 1365577

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-25 14:42:35 UTC (rev 1365576)
+++ PKGBUILD    2022-12-25 14:42:47 UTC (rev 1365577)
@@ -1,46 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-
-pkgname=woob
-pkgver=3.0
-pkgrel=6
-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)
-replaces=(weboob)
-provides=(weboob)
-conflicts=(weboob)
-source=(https://files.pythonhosted.org/packages/source/w/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('47864df4906b44a659abe59630c0e28a1aa24ffbc3c90e22454b58f88bef1726')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
-}

Copied: woob/repos/community-any/PKGBUILD (from rev 1365576, 
woob/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-25 14:42:47 UTC (rev 1365577)
@@ -0,0 +1,54 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+pkgname=woob
+pkgver=3.1
+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
+)
+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=('c09af055dd35a4879b894ede63bf07e49adbad0403665e8518585702c2e5048c')
+
+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
+}

Reply via email to