[arch-commits] Commit in (4 files)
Andrew Crerar
andrewsc at archlinux.org
Sun Jun 7 15:38:41 UTC 2020
Date: Sunday, June 7, 2020 @ 15:38:41
Author: andrewsc
Revision: 640066
Adding python-dotenv to community for docker-compose dependency
Added:
python-dotenv/
python-dotenv/repos/
python-dotenv/trunk/
python-dotenv/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: python-dotenv/trunk/PKGBUILD
===================================================================
--- python-dotenv/trunk/PKGBUILD (rev 0)
+++ python-dotenv/trunk/PKGBUILD 2020-06-07 15:38:41 UTC (rev 640066)
@@ -0,0 +1,27 @@
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Contributor: Kevin Azzam <aur at azz.am>
+# Contributor: David Runge <dave at sleepmap.de>
+
+pkgname=python-dotenv
+pkgver=0.13.0
+pkgrel=2
+pkgdesc="Get and set values in your .env file in local and production servers"
+arch=('any')
+url="https://github.com/theskumar/python-dotenv/"
+license=('BSD')
+depends=('python-click')
+makedepends=('python-setuptools')
+optdepends=('ipython: ipython support')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/theskumar/python-dotenv/archive/v${pkgver}.tar.gz")
+sha512sums=('da1fc6f513ab7492a73bf6c4548ccc2d804c82e08d44e719d37cd4fc24078f7864f17ca5413156369a804deaaf76be0b579c31a4827db4756279b5b0627cea9d')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list