Date: Tuesday, November 1, 2022 @ 20:31:38
Author: felixonmars
Revision: 1340309
archrelease: copy trunk to community-any
Added:
scrapy/repos/community-any/PKGBUILD
(from rev 1340308, scrapy/trunk/PKGBUILD)
Deleted:
scrapy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-01 20:31:30 UTC (rev 1340308)
+++ PKGBUILD 2022-11-01 20:31:38 UTC (rev 1340309)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: PyroDevil <p dot devil at gmail dot com>
-# Contributor: Anibal Pacheco <[email protected]>
-
-pkgname=scrapy
-pkgver=2.6.3
-pkgrel=1
-pkgdesc="A fast high-level scraping and web crawling framework."
-arch=('any')
-license=('BSD')
-url="https://scrapy.org"
-depends=('python-twisted' 'python-cryptography' 'python-cssselect'
'python-itemloaders'
- 'python-lxml' 'libxml2' 'python-parsel' 'python-pydispatcher'
'python-pyopenssl'
- 'python-queuelib' 'python-service-identity' 'python-setuptools'
'python-w3lib'
- 'python-zope-interface' 'python-protego' 'python-itemadapter'
'python-h2'
- 'python-priority' 'python-tldextract')
-checkdepends=('python-pytest' 'python-botocore' 'bpython' 'python-brotli'
'python-jmespath'
- 'ipython' 'mitmproxy' 'python-pillow' 'python-sybil'
'python-testfixtures'
- 'python-pyftpdlib' 'python-uvloop')
-optdepends=('ipython: for enhanced support of the interactive scraping shell')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz")
-sha512sums=('4248fdde8e71e8045811ef1ce78bf30939a705d1d0a075025e79f15ceca357391345e24a7990bf63e9c98b5ee099b95535fc134f49175c0275bef5393da2a5c8')
-
-build() {
- cd scrapy-$pkgver
- python setup.py build
-}
-
-check() {
- cd scrapy-$pkgver
-# test_proxy_connect hangs with mitmproxy 8.0
https://github.com/scrapy/scrapy/issues/5454
- PYTHONPATH="$PWD/build/lib" pytest tests -k 'not test_proxy_connect'
-}
-
-package() {
- cd scrapy-$pkgver
- python setup.py install -O1 --root="$pkgdir"
-
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -D -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname/README.rst
- install -D -m644 docs/intro/install.rst
"$pkgdir"/usr/share/doc/$pkgname/INSTALL.rst
-}
Copied: scrapy/repos/community-any/PKGBUILD (from rev 1340308,
scrapy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-01 20:31:38 UTC (rev 1340309)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: PyroDevil <p dot devil at gmail dot com>
+# Contributor: Anibal Pacheco <[email protected]>
+
+pkgname=scrapy
+pkgver=2.7.0
+pkgrel=1
+pkgdesc="A fast high-level scraping and web crawling framework."
+arch=('any')
+license=('BSD')
+url="https://scrapy.org"
+depends=('python-twisted' 'python-cryptography' 'python-cssselect'
'python-itemloaders'
+ 'python-lxml' 'libxml2' 'python-parsel' 'python-pydispatcher'
'python-pyopenssl'
+ 'python-queuelib' 'python-service-identity' 'python-setuptools'
'python-w3lib'
+ 'python-zope-interface' 'python-protego' 'python-itemadapter'
'python-h2'
+ 'python-priority' 'python-tldextract' 'python-packaging')
+checkdepends=('python-pytest' 'python-botocore' 'bpython' 'python-brotli'
'python-jmespath'
+ 'ipython' 'mitmproxy' 'python-pillow' 'python-sybil'
'python-testfixtures'
+ 'python-pyftpdlib' 'python-uvloop')
+optdepends=('ipython: for enhanced support of the interactive scraping shell')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz")
+sha512sums=('07de00a4369b312ccea77289879dc29175d95becec518120557be33ff97be213016875458372acd71f42f6fb5918299ce2b7760a7b6980e180b894f4cb2c308d')
+
+build() {
+ cd scrapy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd scrapy-$pkgver
+# test_proxy_connect hangs with mitmproxy 8.0
https://github.com/scrapy/scrapy/issues/5454
+ PYTHONPATH="$PWD/build/lib" pytest tests -k 'not test_proxy_connect'
+}
+
+package() {
+ cd scrapy-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname/README.rst
+ install -D -m644 docs/intro/install.rst
"$pkgdir"/usr/share/doc/$pkgname/INSTALL.rst
+}