summaryrefslogtreecommitdiff
path: root/python3-poetry/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-14 19:51:53 +0000
committerTim Biermann <tbier@posteo.de>2021-06-14 19:51:53 +0000
commitf6109c6f8e49a04433822fa16501eaf77c0ad752 (patch)
tree19778c026e8648284a08d6a7667eb12994ba5057 /python3-poetry/Pkgfile
parent81188cdb996f5a490dffe98c5fc372f3f61188ce (diff)
downloadcontrib-f6109c6f8e49a04433822fa16501eaf77c0ad752.tar.gz
contrib-f6109c6f8e49a04433822fa16501eaf77c0ad752.tar.xz
python3-poetry: initial commit, version 1.1.6
Diffstat (limited to 'python3-poetry/Pkgfile')
-rw-r--r--python3-poetry/Pkgfile22
1 files changed, 22 insertions, 0 deletions
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
+}

Generated by cgit