diff options
author | Johannes Dewender | 2014-06-11 11:47:08 +0200 |
---|---|---|
committer | Johannes Dewender | 2014-06-11 11:47:08 +0200 |
commit | ca81edf31a4da86d019338a8d752b37596846013 (patch) | |
tree | c1e6680be48186d3fad465f557af1363c4674ad7 | |
download | aur-ca81edf31a4da86d019338a8d752b37596846013.tar.gz |
python-debian: created as 0.1.21-nmu2
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad38f499c054 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python-debian + pkgdesc = Python modules to work with Debian-related data formats + pkgver = 0.1.21_nmu2 + pkgrel = 1 + url = http://packages.debian.org/sid/python-debian + arch = any + license = GPL + depends = python + depends = python-chardet + depends = python-six + optdepends = python-apt: interface to libapt-pkg + options = !emptydirs + source = http://pypi.python.org/packages/source/p/python-debian/python-debian-0.1.21-nmu2.tar.gz + md5sums = 09c0b6ce10bf473c54fff9e6c62fe1d6 + +pkgname = python-debian + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..bd9b4a41adc0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.tar.gz +*.tar.xz +*.tgz +*.rpm +*.zip +*.bz2 +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5c164b759d6a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Johannes Dewender arch at JonnyJD dot net +pkgname=python-debian +_python=python +pkgver=0.1.21_nmu2 +_pkgver=0.1.21-nmu2 +pkgrel=1 +pkgdesc="Python modules to work with Debian-related data formats" +arch=('any') +url="http://packages.debian.org/sid/python-debian" +license=('GPL') +depends=($_python $_python-chardet $_python-six) +optdepends=("$_python-apt: interface to libapt-pkg") +makedepends=() +conflicts=() +options=(!emptydirs) +source=(http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$_pkgver.tar.gz) +md5sums=('09c0b6ce10bf473c54fff9e6c62fe1d6') + +build() { + cd "$srcdir/$pkgname-$_pkgver" + $_python setup.py build +} +package() { + cd "$srcdir/$pkgname-$_pkgver" + $_python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |