blob: 73c6c4d1010a813455a248da19ebca69daa4141b (
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
|
# Maintainer: Atte Lautanala <atte@lautana.la>
pkgname=python-poetry-plugin-dotenv
_pkgname=poetry_plugin_dotenv
pkgver=2.13.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=('6a5aeb8bc786531a3f10732f94df0bd7bae040cf9c29169089719424b968d9241fb1eb29579131115f10748a998d45962030e9798860e3fb29664b433637d900')
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/"
}
|