Date: Tuesday, November 1, 2022 @ 20:43:45
Author: felixonmars
Revision: 1340321
archrelease: copy trunk to community-any
Added:
python-parsel/repos/community-any/PKGBUILD
(from rev 1340320, python-parsel/trunk/PKGBUILD)
Deleted:
python-parsel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-01 20:43:38 UTC (rev 1340320)
+++ PKGBUILD 2022-11-01 20:43:45 UTC (rev 1340321)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-parsel
-pkgver=1.6.0
-pkgrel=4
-pkgdesc="Parsel is a library to extract data from HTML and XML using XPath and
CSS selectors"
-arch=('any')
-license=('BSD')
-url="https://github.com/scrapy/parsel"
-depends=('python-cssselect' 'python-lxml' 'python-six' 'python-w3lib')
-makedepends=('python-pytest' 'python-pytest-runner' 'python-sybil'
'python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz")
-sha512sums=('d3161522e1102cceeb1f29ab020b33019d4ac7f096cfab8fbe40f54073e49afc24f02aa54206d86f56c8f92e3db2d0d2f8a3dbdfa6417492cf299201f2ae6604')
-
-build() {
- cd parsel-$pkgver
- python setup.py build
-}
-
-check() {
- cd parsel-$pkgver
- python -m pytest
-}
-
-package() {
- cd parsel-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-parsel/repos/community-any/PKGBUILD (from rev 1340320,
python-parsel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-01 20:43:45 UTC (rev 1340321)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-parsel
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Parsel is a library to extract data from HTML and XML using XPath and
CSS selectors"
+arch=('any')
+license=('BSD')
+url="https://github.com/scrapy/parsel"
+depends=('python-cssselect' 'python-lxml' 'python-setuptools' 'python-six'
'python-w3lib')
+makedepends=('python-pytest-runner')
+checkdepends=('python-sybil' 'python-psutil')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz")
+sha512sums=('669dc5a25f488dbf789ecc4b3e055488ac8040427375b359ddfe48b676c5ebdee6408f4baa0adbb507f6b86d5659f947f2907b63b5bb029e8bea3ac0c40f9b6d')
+
+build() {
+ cd parsel-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd parsel-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd parsel-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}