diff options
author | clintval | 2017-12-19 18:12:53 -0500 |
---|---|---|
committer | clintval | 2017-12-19 18:12:53 -0500 |
commit | cf8c83b59a3db00de2e49266ac8c78a9f785694e (patch) | |
tree | 9a5e05399d6cd6beffbbadfc8cc16e21085aa594 | |
download | aur-cf8c83b59a3db00de2e49266ac8c78a9f785694e.tar.gz |
First commit with PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fdc535270cd1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python-logzero + pkgdesc = Robust and effective logging for Python 2 and 3 + pkgver = 1.3.1 + pkgrel = 1 + url = https://github.com/metachris/logzero + arch = any + license = MIT + makedepends = python-setuptools + depends = python + provides = python-logzero + conflicts = python-logzero + options = !emptydirs + source = https://github.com/metachris/logzero/archive/v1.3.1.tar.gz + md5sums = 4e7082453b9d5844d6132a3760126647 + +pkgname = python-logzero + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3f6ed3101846 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Clint Valentine <valentine.clint@gmail.com> + +pkgname='python-logzero' +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Robust and effective logging for Python 2 and 3" +arch=('any') +url="https://github.com/metachris/logzero" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +provides=('python-logzero') +conflicts=('python-logzero') +options=(!emptydirs) +source=("https://github.com/metachris/logzero/archive/v${pkgver}.tar.gz") +md5sums=('4e7082453b9d5844d6132a3760126647') + +package() { + cd "${srcdir}/logzero-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 +} |