summaryrefslogtreecommitdiff
path: root/testing/py-scrapy-dblite/APKBUILD
blob: 3c7699f0a76c42daf5780b3bd332898b881aa16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor:
# Maintainer:
pkgname=py-scrapy-dblite
_pkgname=scrapy-dblite
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"
arch="noarch"
license="BSD" # 2 clause license http://opensource.org/licenses/BSD-2-Clause
depends="python"
depends_dev=""
makedepends="python2-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/ownport/scrapy-dblite/archive/v0.2.6.tar.gz"

builddir="$srcdir"/scrapy-dblite-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

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"