blob: 1d11b369eb0d23e7d8bb2992d8ed2b8dea13ebdb (
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
|
# Contributor: Atte Lautanala <atte@lautana.la>
pkgname=python-poetry-plugin-dotenv
_pkgname=poetry_plugin_dotenv
pkgver=3.1.0
pkgrel=1
pkgdesc='Automatically loads a dotenv file before poetry commands'
arch=(any)
url="https://github.com/volopivoshenko/poetry-plugin-dotenv"
license=(MIT)
depends=(python python-cleo python-poetry)
makedepends=(python-build python-installer)
source=("https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
b2sums=('34bbe26cef7ab3250ae8f5114e13f7bdf8cc5e18348f85d29f4c8947bcfbf0de43f0b124b7397f3a30b6e487c3d0709c11520724fb26e631d132a9eb15050ba4')
build() {
cd "$_pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname-$pkgver"
python -m installer -d "$pkgdir" dist/*.whl
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|