Date: Thursday, May 25, 2017 @ 07:27:28 Author: felixonmars Revision: 230025
archrelease: copy trunk to community-any Added: scrapy/repos/community-any/PKGBUILD (from rev 230024, scrapy/trunk/PKGBUILD) Deleted: scrapy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 39 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-05-25 07:26:47 UTC (rev 230024) +++ PKGBUILD 2017-05-25 07:27:28 UTC (rev 230025) @@ -1,35 +0,0 @@ -# $Id$ -# 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.3.3 -pkgrel=1 -pkgdesc="A fast high-level scraping and web crawling framework." -arch=('any') -license=('BSD') -url="http://scrapy.org" -depends=('python-twisted' 'libxml2' 'python-w3lib' 'python-lxml' 'python-six' 'python-queuelib' - 'python-setuptools' 'python-cssselect' 'python-pyopenssl' 'python-parsel' - 'python-pydispatcher' 'python-service-identity') -makedepends=('git') -checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 'python-botocore' - 'python-jmespath' 'mitmproxy') -optdepends=('ipython: for enhanced support of the interactive scraping shell') -source=("git+https://github.com/scrapy/scrapy.git#tag=${pkgver}") -md5sums=('SKIP') - -check() { - cd scrapy - python setup.py pytest --addopts tests -} - -package() { - cd scrapy - 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 230024, scrapy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-05-25 07:27:28 UTC (rev 230025) @@ -0,0 +1,39 @@ +# $Id$ +# 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.4.0 +pkgrel=1 +pkgdesc="A fast high-level scraping and web crawling framework." +arch=('any') +license=('BSD') +url="http://scrapy.org" +depends=('python-twisted' 'libxml2' 'python-w3lib' 'python-lxml' 'python-six' 'python-queuelib' + 'python-setuptools' 'python-cssselect' 'python-pyopenssl' 'python-parsel' + 'python-pydispatcher' 'python-service-identity') +checkdepends=('python-pytest-runner' 'python-pillow' 'python-testfixtures' 'python-botocore' + 'python-jmespath' 'mitmproxy') +optdepends=('ipython: for enhanced support of the interactive scraping shell') +source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/scrapy/archive/$pkgver.tar.gz") +md5sums=('1be2bb5325cfebca07c66788b0734fbc') + +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 +}