From 9633c6fb963f4b5c44e5cd61bf087ee9f378e412 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 13 Jun 2015 17:25:59 +0200 Subject: Add python-srcinfo package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- .SRCINFO | 17 +++++++++++++++++ PKGBUILD | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f561f60 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 4.2.1-161-g36327-dirty +# Sat Jun 13 15:25:49 UTC 2015 +pkgbase = python-srcinfo + pkgdesc = Simple .SRCINFO parsing library + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/kyrias/python-srcinfo + arch = any + license = ISC + depends = python + depends = python-setuptools + depends = python-parse + source = python-srcinfo-0.0.1::https://github.com/kyrias/python-srcinfo/archive/0.0.1.tar.gz + md5sums = 9eb6917d2cdb15dc8ac60d7074e8b777 + +pkgname = python-srcinfo + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..cf3bdbe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=python-srcinfo +pkgver=0.0.1 +pkgrel=1 + +pkgdesc="Simple .SRCINFO parsing library" +url='https://github.com/kyrias/python-srcinfo' +arch=('any') +license=('ISC') + +depends=('python' 'python-setuptools' 'python-parse') + +source=(python-srcinfo-"$pkgver"::"https://github.com/kyrias/python-srcinfo/archive/$pkgver.tar.gz") + +md5sums=('9eb6917d2cdb15dc8ac60d7074e8b777') + +package() { + cd python-srcinfo-"$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3-70-g09d2