blob: fcb75858245fdb0812badb57f8053442cfb06b67 (
plain)
1 # Description: python3 packaging and dependency management made easy
2 # URL: https://poetry.eustace.io/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-cachecontrol python3-cachy python3-cleo python3-crashtest python3-keyring python3-lockfile python3-pkginfo python3-poetry-core python3-requests-toolbelt python3-virtualenv
5
6 name=python3-poetry
7 version=1.1.11
8 release=1
9 source=(https://github.com/sdispater/poetry/archive/$version/$name-$version.tar.gz
10 0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
11 0001-tests-cleanup-cache-and-http-usage.patch)
12
13 build() {
14 cd poetry-$version
15 patch -Np1 -i $SRC/0001-Suppress-dependency-versions-which-are-known-to-be-t.patch
16 patch -Np1 -i $SRC/0001-tests-cleanup-cache-and-http-usage.patch
17 dephell deps convert --from pyproject.toml --to setup.py
18 /usr/bin/python3 setup.py build
19 /usr/bin/python3 setup.py install --prefix=/usr \
20 --root=$PKG \
21 --skip-build
22 }
|