aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-scrapy
diff options
context:
space:
mode:
authorsystmkor <systmkor@gmail.com>2014-12-19 18:21:51 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-23 16:02:51 +0000
commit104afddc2d058114f567454dbbe0602c98a09297 (patch)
treef8696e7d4d978347e232cae467624b6cba5a08b8 /testing/py-scrapy
parent3fca6cfec65f93b36d0ac2c8b9f378186d815977 (diff)
downloadaports-104afddc2d058114f567454dbbe0602c98a09297.tar.bz2
aports-104afddc2d058114f567454dbbe0602c98a09297.tar.xz
testing/py-scrapy: new aport
Python web scraping framework http://scrapy.org/
Diffstat (limited to 'testing/py-scrapy')
-rw-r--r--testing/py-scrapy/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-scrapy/APKBUILD b/testing/py-scrapy/APKBUILD
new file mode 100644
index 0000000000..dab60132c5
--- /dev/null
+++ b/testing/py-scrapy/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Orion <systmkor@gmail.com>
+# Maintainer: Orion <systmkor@gmail.com>
+# Used https://aur.archlinux.org/packages/sc/scrapy/PKGBUILD as template
+pkgname=py-scrapy
+_pkgname="Scrapy"
+pkgver=0.24.4
+pkgrel=0
+pkgdesc="A fast high-level scraping and web crawling framework."
+url="http://scrapy.org/"
+arch="noarch"
+license="BSD"
+depends="python py-twisted libxml2 py-w3lib py-lxml py-six py-queuelib py-cssselect py-openssl"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages="" #"$pkgname-dev $pkgname-doc"
+source="https://pypi.python.org/packages/source/S/Scrapy/Scrapy-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+# prepare() {
+# local i
+# cd "$_builddir"
+# for i in $source; do
+# case $i in
+# *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+# esac
+# done
+# }
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+md5sums="77bbfa482dedca8daa8c61b48b3925e5 Scrapy-0.24.4.tar.gz"
+sha256sums="286dfc278f575f5176892f45179b4ce25dcdc6270bbf2146a2f1ace39ba24d00 Scrapy-0.24.4.tar.gz"
+sha512sums="3f1b1c54ff0924191e6f0b655c037c3baa36844dcca3a9eaa5cb5f995e479e7fc730b296b3f5146687aa034c983f86a6418561687c430712a38f8b7d8ff15b6a Scrapy-0.24.4.tar.gz"