blob: 38c6d692c85929b92fe2a20cfdc6b0c03372a945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
NAME="poetry"
DESC="Python3 dependency management and packaging system"
MAKEDEPS="python-build python-installer python-six python-jsonschema python-poetry-core python-cachecontrol python-cachy python-cleo python-clikit python-crashtest python-keyring python-pexpect python-pkginfo python-requests-toolbelt python-shellingham python-virtualenv"
PKG_VER=1.2.1
SOURCE="https://github.com/python-poetry/poetry/archive/$PKG_VER.tar.gz"
prepare() {
git init
}
build() {
python3 -m build --wheel
}
package() {
python3 -m installer -d "$PKG_DEST" \
dist/poetry-$PKG_VER-py3-none-any.whl
}
|