From f6109c6f8e49a04433822fa16501eaf77c0ad752 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Mon, 14 Jun 2021 19:51:53 +0000 Subject: python3-poetry: initial commit, version 1.1.6 --- python3-poetry/Pkgfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 python3-poetry/Pkgfile (limited to 'python3-poetry/Pkgfile') diff --git a/python3-poetry/Pkgfile b/python3-poetry/Pkgfile new file mode 100644 index 000000000..1b4f189a1 --- /dev/null +++ b/python3-poetry/Pkgfile @@ -0,0 +1,22 @@ +# Description: python3 packaging and dependency management made easy +# URL: https://poetry.eustace.io/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-cachecontrol python3-cachy python3-cleo python3-crashtest python3-keyring python3-lockfile python3-pkginfo python3-poetry-core python3-requests-toolbelt python3-virtualenv + +name=python3-poetry +version=1.1.6 +release=1 +source=(https://github.com/sdispater/poetry/archive/$version/$name-$version.tar.gz + 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch + 0001-tests-cleanup-cache-and-http-usage.patch) + +build() { + cd poetry-$version + patch -Np1 -i $SRC/0001-Suppress-dependency-versions-which-are-known-to-be-t.patch + patch -Np1 -i $SRC/0001-tests-cleanup-cache-and-http-usage.patch + dephell deps convert --from pyproject.toml --to setup.py + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr \ + --root=$PKG \ + --skip-build +} -- cgit v1.2.3