From c5a0210f66272cce2a6d87d1d1d7da0e5160e07b Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Tue, 16 Mar 2021 14:04:14 +0100 Subject: [PATCH] Initial upload: python-derpconf 0.8.3-1 --- python-derpconf/.SRCINFO | 14 ++++++++++++++ python-derpconf/PKGBUILD | 28 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 python-derpconf/.SRCINFO create mode 100644 python-derpconf/PKGBUILD diff --git a/python-derpconf/.SRCINFO b/python-derpconf/.SRCINFO new file mode 100644 index 0000000..42cc2cd --- /dev/null +++ b/python-derpconf/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-derpconf + pkgdesc = abstract loading of configuration files + pkgver = 0.8.3 + pkgrel = 1 + url = https://github.com/globocom/derpconf + arch = any + license = MIT + makedepends = python-setuptools + depends = python + source = https://github.com/globocom/derpconf/archive/v0.8.3.tar.gz + b2sums = b1ab949f512314a57d5708eb7b7ed9b642207060207c3e68035ddd21c21a40b44cf44b28b7a0a27a6d1dbe4147603135339de03d3c7ec4936eb7c30399570bd6 + +pkgname = python-derpconf + diff --git a/python-derpconf/PKGBUILD b/python-derpconf/PKGBUILD new file mode 100644 index 0000000..e8da412 --- /dev/null +++ b/python-derpconf/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Giovanni Harting <539@idlegandalf.com> + +pkgname=python-derpconf +_name=${pkgname#python-} +pkgver=0.8.3 +pkgrel=1 +pkgdesc="abstract loading of configuration files" +arch=('any') +url="https://github.com/globocom/derpconf" +license=('MIT') +depends=(python) +makedepends=('python-setuptools') +source=("https://github.com/globocom/derpconf/archive/v$pkgver.tar.gz") +b2sums=('b1ab949f512314a57d5708eb7b7ed9b642207060207c3e68035ddd21c21a40b44cf44b28b7a0a27a6d1dbe4147603135339de03d3c7ec4936eb7c30399570bd6') + +build() { + cd $_name-$pkgver + + python setup.py build +} + +package() { + cd $_name-$pkgver + + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +