Date: Wednesday, March 11, 2020 @ 20:18:35 Author: felixonmars Revision: 594609
archrelease: copy trunk to community-any Added: scrapy/repos/community-any/PKGBUILD (from rev 594608, scrapy/trunk/PKGBUILD) Deleted: scrapy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-11 20:18:18 UTC (rev 594608) +++ PKGBUILD 2020-03-11 20:18:35 UTC (rev 594609) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: PyroDevil <p dot devil at gmail dot com> -# Contributor: Anibal Pacheco <apacheco...@gmail.com> - -pkgname=scrapy -pkgver=1.8.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-lxml' 'libxml2' - 'python-parsel' 'python-pydispatcher' 'python-pyopenssl' 'python-queuelib' - 'python-service-identity' 'python-setuptools' 'python-w3lib' 'python-zope-interface' - 'python-protego') -checkdepends=('python-pytest-runner' 'python-pytest-twisted' 'python-botocore' 'bpython' - 'python-brotlipy' 'python-jmespath' 'ipython' 'mitmproxy' 'python-pillow' - 'python-sybil' 'python-testfixtures') -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=('112050599b0cb5dbc647bb4f92a6007230e5ccea13bf954c21d059845219867ef7c4193dcbafd37ed3ff4fc01b8631864c4dea5a7c7550cecc4e317dd899fd29') - -build() { - cd scrapy-$pkgver - python setup.py build -} - -check() { - cd scrapy-$pkgver - python setup.py pytest --addopts 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 594608, scrapy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-11 20:18:35 UTC (rev 594609) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: PyroDevil <p dot devil at gmail dot com> +# Contributor: Anibal Pacheco <apacheco...@gmail.com> + +pkgname=scrapy +pkgver=2.0.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-lxml' 'libxml2' + 'python-parsel' 'python-pydispatcher' 'python-pyopenssl' 'python-queuelib' + 'python-service-identity' 'python-setuptools' 'python-w3lib' 'python-zope-interface' + 'python-protego') +checkdepends=('python-pytest-runner' 'python-pytest-twisted' 'python-botocore' 'bpython' + 'python-brotlipy' 'python-jmespath' 'ipython' 'mitmproxy' 'python-pillow' + 'python-sybil' 'python-testfixtures') +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=('bbe23230c7173fd3df58e8307eec70163fa56f9f70f61b8d91443acd09f0ab644a737fd6013916657a81352acfe9c034c115e2e7decdedeef0a9d2a3bca11150') + +build() { + cd scrapy-$pkgver + python setup.py build +} + +check() { + cd scrapy-$pkgver + python setup.py pytest --addopts 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 +}