aboutsummaryrefslogtreecommitdiffstats
path: root/testing/poetry/APKBUILD
blob: d5a499e13120e0f71d30867507bf7124df06a32c (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
29
30
31
32
33
34
35
36
37
38
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=poetry
pkgver=0.12.17
pkgrel=0
pkgdesc="Python3 dependency management and packaging system"
url="https://poetry.eustace.io/"
arch="noarch"
license="MIT"
depends="
	python3
	py3-cleo<0.7.0
	py3-requests
	py3-cachy
	py3-jsonschema
	py3-pyrsistent
	py3-parsing
	py3-cachecontrol
	py3-pkginfo
	py3-html5lib
	py3-shellingham
	py3-tomlkit
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/sdispater/poetry/archive/${pkgver}.tar.gz
	poetry.py
	"

package() {
	rm -rf "$pkgdir"/usr/lib/poetry/poetry

	install -d "$pkgdir"/usr/lib/poetry
	cp -r poetry "$pkgdir"/usr/lib/poetry/poetry

	install -Dm0755 "$srcdir"/poetry.py "$pkgdir"/usr/bin/poetry
}
sha512sums="78fba8dcfba1206fee21e7e58949c7d1ca2357d093b9a4af9feb887c3647ff427e893be01757a79aee7a2d9735c4f262aca8a6eccf4a44d51a9961597dcd7eee  poetry-0.12.17.tar.gz
fca6cad49967e7fae7fcdd12e6d15da649f11dd0acfc6e0904eb75ec1f3b477a28328553a4b356422087a3f375d5a4851cf9c793eb041f7ae427352b4747a6fc  poetry.py"