aboutsummaryrefslogtreecommitdiff
path: root/community/py3-dotenv/APKBUILD
blob: a8a5b6327558e4e2f6a7bcedad74b5aabe6d9f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=py3-dotenv
_pkgname=python-dotenv
pkgver=0.13.0
pkgrel=0
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"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/theskumar/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="da1fc6f513ab7492a73bf6c4548ccc2d804c82e08d44e719d37cd4fc24078f7864f17ca5413156369a804deaaf76be0b579c31a4827db4756279b5b0627cea9d  py3-dotenv-0.13.0.tar.gz"