blob: 2b6035523e0bc638346fa8f2b1af220109ecd956 (
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
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-incoming
_pkgname=incoming
pkgver=0.2.4
pkgrel=0
pkgdesc="A Python JSON validation framework"
url="https://github.com/vaidik/incoming"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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="ffbb309fc1288a0fb4fb79e61036090f incoming-0.2.4.tar.gz"
sha256sums="acae87e6dfe73f0090e2857a3b95cb0dfcf915fe116d69825bc887187fdf5848 incoming-0.2.4.tar.gz"
sha512sums="082cb24ecb0f8e684bc68b5912b19d1bfcfd2abddaa796b367d4527cde3d32ced1fb6f615e8fe07bd6956513fe8dacc294ebef8e471f9d2d0284ab1dfcd14f94 incoming-0.2.4.tar.gz"
|