diff options
Diffstat (limited to 'testing/xml2rfc/APKBUILD')
-rw-r--r-- | testing/xml2rfc/APKBUILD | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/testing/xml2rfc/APKBUILD b/testing/xml2rfc/APKBUILD index 7ee7e68e87..ab753db127 100644 --- a/testing/xml2rfc/APKBUILD +++ b/testing/xml2rfc/APKBUILD @@ -1,40 +1,26 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=xml2rfc -pkgver=2.4.2 +pkgver=2.8.2 pkgrel=0 pkgdesc="A tool for converting XML documents into internet drafts and RFCs" url="http://tools.ietf.org/" arch="noarch" license="BSD" depends="python2 py-lxml" -depends_dev="" -makedepends="$depends_dev py-setuptools" -install="" -subpackages="" +makedepends="py-setuptools" source="https://files.pythonhosted.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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="cd6a2aba2e82cfc09d87046dd0493b9b xml2rfc-2.4.2.tar.gz" -sha256sums="60597904716b5ab96d48a0f50cead91a573bdfc0a842a4a37b512901e0ebd9b9 xml2rfc-2.4.2.tar.gz" -sha512sums="9122b0dbc0c4105e85c8a2d7323e7cec70418e273c2369d814eafb576a05d3f80413e34d1e46c9af5ef07a6eec94c0839123cc3ec296bc3a3f6831b743d003b0 xml2rfc-2.4.2.tar.gz" +sha512sums="48e79d3d00b02670261c37b60e3dfe238407a49efdfc8146e57bd5bf350877680baa1024b7f81263f6a7312e189171e37f2d77c2f7ab1754a1b1590ae02dda29 xml2rfc-2.8.2.tar.gz" |