blob: 92c5b3fb3bf923c47737e77ce82ddbfc03c2ae20 (
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-keyring python3-lockfile python3-pkginfo python3-poetry-core python3-requests-toolbelt python3-virtualenv
5
6 name=python3-poetry
7 version=1.1.13
8 release=1
9 source=(https://github.com/sdispater/poetry/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd poetry-$version
13
14 /usr/bin/pip3 install --compile \
15 --no-deps \
16 --no-warn-script-location \
17 --root=$PKG .
18
19 local sitedir=$(/usr/bin/python3 -c "import site; print(site.getsitepackages()[0])")
20 rm $PKG/$sitedir/poetry/__init__.py \
21 $PKG/$sitedir/poetry/__pycache__/__init__.cpython-*.pyc
22 }
|