[arch-commits] Commit in scrapy/repos/community-any (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at archlinux.org
Sun May 16 15:16:43 UTC 2021


    Date: Sunday, May 16, 2021 @ 15:16:43
  Author: kpcyrd
Revision: 935851

archrelease: copy trunk to community-any

Added:
  scrapy/repos/community-any/PKGBUILD
    (from rev 935850, scrapy/trunk/PKGBUILD)
Deleted:
  scrapy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 15:16:26 UTC (rev 935850)
+++ PKGBUILD	2021-05-16 15:16:43 UTC (rev 935851)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: PyroDevil <p dot devil at gmail dot com>
-# Contributor: Anibal Pacheco <apacheco.uy at gmail.com>
-
-pkgname=scrapy
-pkgver=2.5.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')
-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=('01a5ab605ba6783567147b7ca8c0dd963266aeb63e8eac19e962ee5d6dda85052c23a4d161ab69f130925b8a6f271ffbc28784a8f7fc0216428b5579eaad47b6')
-
-prepare() {
-  cd scrapy-$pkgver
-  sed -i 's/,<4.0//' setup.py
-}
-
-build() {
-  cd scrapy-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd scrapy-$pkgver
-  PYTHONPATH="$PWD/build/lib" pytest tests
-}
-
-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 935850, scrapy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-16 15:16:43 UTC (rev 935851)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: PyroDevil <p dot devil at gmail dot com>
+# Contributor: Anibal Pacheco <apacheco.uy at gmail.com>
+
+pkgname=scrapy
+pkgver=2.5.0
+pkgrel=2
+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')
+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=('01a5ab605ba6783567147b7ca8c0dd963266aeb63e8eac19e962ee5d6dda85052c23a4d161ab69f130925b8a6f271ffbc28784a8f7fc0216428b5579eaad47b6')
+
+prepare() {
+  cd scrapy-$pkgver
+  sed -i 's/,<4.0//' setup.py
+}
+
+build() {
+  cd scrapy-$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+check() {
+  cd scrapy-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest tests
+}
+
+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
+}



More information about the arch-commits mailing list