blob: 33b1160e32163dae605b89a2b719ce2f637bac18 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-xml
pkgver=0.8.4
pkgrel=2
pkgdesc="Python XML parsing library."
url="http://pyxml.sourceforge.net/"
arch="all"
license="custom"
depends=
makedepends="python2-dev"
source="http://downloads.sourceforge.net/sourceforge/pyxml/PyXML-$pkgver.tar.gz
fix-python2.6.patch"
builddir="$srcdir"/PyXML-$pkgver
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -D -m644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
}
md5sums="1f7655050cebbb664db976405fdba209 PyXML-0.8.4.tar.gz
4b652e0c866e3cca7e2386e8e383d5ba fix-python2.6.patch"
sha256sums="9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13 PyXML-0.8.4.tar.gz
163dd62e1b495c4918b568295e6da95c06ac6fb9982f28b80998b1f3fed97194 fix-python2.6.patch"
sha512sums="68d9802a58b8ce90d668d2ba659136dc5377e224fdb837284fdcaf640f28b3bb400bf485d602689905d56121b9ffaa7f7758b4a2f262d1321c8b9890952c8a1e PyXML-0.8.4.tar.gz
c943212f8c12cc9b1d500b30894d9f9b0b3acc883ffbc4c3d8db9da56fdabc22a8d653c2515ae453c90c53400e0b4dfaf0b24a1f5116453f567ea89f9d671706 fix-python2.6.patch"
|