[arch-commits] Commit in scrapy/repos (2 files)

Felix Yan fyan at archlinux.org
Sat Jun 20 03:55:13 UTC 2015


    Date: Saturday, June 20, 2015 @ 05:55:13
  Author: fyan
Revision: 135635

archrelease: copy trunk to community-testing-any

Added:
  scrapy/repos/community-testing-any/
  scrapy/repos/community-testing-any/PKGBUILD
    (from rev 135634, scrapy/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: scrapy/repos/community-testing-any/PKGBUILD (from rev 135634, scrapy/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2015-06-20 03:55:13 UTC (rev 135635)
@@ -0,0 +1,27 @@
+# $Id$
+# 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=1.0.0
+pkgrel=1
+pkgdesc="A fast high-level scraping and web crawling framework."
+arch=(any)
+license=('BSD')
+url="http://scrapy.org"
+depends=('python2-twisted' 'libxml2' 'python2-w3lib' 'python2-lxml' 'python2-six' 'python2-queuelib' 
+         'python2-setuptools' 'python2-cssselect' 'python2-pyopenssl')
+makedepends=('git')
+optdepends=('ipython2: for enhanced support of the interactive scraping shell')
+source=("git+https://github.com/scrapy/scrapy.git#tag=${pkgver}")
+md5sums=('SKIP')
+
+package() {
+  cd "${srcdir}/scrapy"
+  python2 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