# Contributor: Simon Frankenberger # Maintainer: Simon Frankenberger pkgname=py3-dotenv _pyname=python-dotenv pkgver=1.0.0 pkgrel=1 pkgdesc="Reads the key-value pair from .env file and adds them to environment variable." url="https://github.com/theskumar/python-dotenv" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/theskumar/$_pyname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } check() { # running tests requires testing/py3-sh PYTHONPATH=build/lib python3 -c "from dotenv import load_dotenv" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 416d0db29cd88d0b8def2f3a8638e75ce75cf9fabf27f6ceecce72aaa97aa475f7f3c9d7f1698e1a4652645b9dd1c42fd1e05b5fd652edeb50d2696611e354b6 py3-dotenv-1.0.0.tar.gz "