diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-28 01:07:18 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-28 01:07:18 +0000 |
commit | 7b1fef380130d2d46c9fc801865e829c2dd389a0 (patch) | |
tree | 11b70dbf95d27b88f3a516970982a1145f623417 /testing/py-scrapy-dblite | |
parent | ae07d7143d1fbf977a1112f9d2d79a0241aa65c3 (diff) | |
download | aports-7b1fef380130d2d46c9fc801865e829c2dd389a0.tar.bz2 aports-7b1fef380130d2d46c9fc801865e829c2dd389a0.tar.xz |
testing/py-scrapy-dblite: upgrade to 0.2.6
Diffstat (limited to 'testing/py-scrapy-dblite')
-rw-r--r-- | testing/py-scrapy-dblite/APKBUILD | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/testing/py-scrapy-dblite/APKBUILD b/testing/py-scrapy-dblite/APKBUILD index 479108a908..05a68d7caf 100644 --- a/testing/py-scrapy-dblite/APKBUILD +++ b/testing/py-scrapy-dblite/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=py-scrapy-dblite _pkgname=scrapy-dblite -pkgver=0.2.5 +pkgver=0.2.6 pkgrel=0 pkgdesc="Simple library for storing Scrapy Items in sqlite." # quote from github url="https://github.com/ownport/scrapy-dblite" @@ -13,29 +13,20 @@ depends_dev="" makedepends="python-dev" install="" subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/ownport/scrapy-dblite/archive/v0.2.6.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 -} +builddir="$srcdir"/scrapy-dblite-$pkgver build() { - cd "$_builddir" + cd "$builddir" python setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="f3e5ccca05895c52df9fc8408a6230e7 scrapy-dblite-0.2.5.tar.gz" -sha256sums="9d42ea9a585e3e7b345529d5a311dd3920c4d6f99654f3ce9c0c14c359e7185b scrapy-dblite-0.2.5.tar.gz" -sha512sums="292eab45a191b28d339c6581e5faf06af27f6c47596262c08f79b7da9f5c6880ea8c32c3b011fa509c850524b49be4edcf5b79c9d43fdb7b354bd32fd3f81141 scrapy-dblite-0.2.5.tar.gz" +md5sums="4748043119b641af018bd62bdd911012 py-scrapy-dblite-0.2.6.tar.gz" +sha256sums="42e882c5a33c05207b9d308fae8f672a0496cfc3bfa94310fa9ecf70a9484ce8 py-scrapy-dblite-0.2.6.tar.gz" +sha512sums="5b547ee875f164bb33d261d8397b5faeebdd5d35f73cf99e5f8ba65641ce267168446320bb5b0545a23d596625e3922e2d5845ee192672939a496805271a8eff py-scrapy-dblite-0.2.6.tar.gz" |