[arch-commits] Commit in python-dotenv/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:10:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:10:03
  Author: felixonmars
Revision: 749337

archrelease: copy trunk to community-staging-any

Added:
  python-dotenv/repos/community-staging-any/
  python-dotenv/repos/community-staging-any/PKGBUILD
    (from rev 749335, python-dotenv/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-dotenv/repos/community-staging-any/PKGBUILD (from rev 749335, python-dotenv/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:10:03 UTC (rev 749337)
@@ -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.15.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=('0d9d16960281a9c40dc6d906e021381a29e9746ec915f860bcdc63ed526e6f8b619b2892a368f9870b08a9077dc735b2a22d285cf7e67007f5cd3d2ada3c030d')
+
+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