summaryrefslogtreecommitdiff
path: root/repo/python-poetry-core/python-poetry-core.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/python-poetry-core/python-poetry-core.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/python-poetry-core/python-poetry-core.xibuild')
-rw-r--r--repo/python-poetry-core/python-poetry-core.xibuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/repo/python-poetry-core/python-poetry-core.xibuild b/repo/python-poetry-core/python-poetry-core.xibuild
index 2dbc39b..4f32131 100644
--- a/repo/python-poetry-core/python-poetry-core.xibuild
+++ b/repo/python-poetry-core/python-poetry-core.xibuild
@@ -3,28 +3,22 @@
NAME="python-poetry-core"
DESC="PEP 517 build backend implementation for Poetry"
-MAKEDEPS="python-pep517 python-build python-installer "
+MAKEDEPS="python-build python-installer"
-PKG_VER=1.1.0
+PKG_VER=1.4.0
SOURCE="https://github.com/python-poetry/poetry-core/archive/$PKG_VER.tar.gz"
build() {
- # poetry-core excludes files specified in .gitignore
- # fixed by setting GIT_DIR away from the aports tree's top-level directory
- GIT_DIR="$PWD" python3 -m build --no-isolation --skip-dependency-check --wheel
+ GIT_DIR="$PWD" python3 -m build --wheel
}
+
package() {
python3 -m installer -d "$PKG_DEST" \
- dist/poetry_core-$PKG_VER-py2.py3-none-any.whl
+ dist/poetry_core-$PKG_VER-py3-none-any.whl
# remove vendored versions of installed modules
local sitedir=$(python3 -c "import site; print(site.getsitepackages()[0])")
rm -r "$PKG_DEST/$sitedir"/poetry/core/_vendor
-
- install -Dm644 poetry/core/json/schemas/poetry-schema.json \
- "$PKG_DEST/$sitedir"/poetry/core/json/schemas/poetry-schema.json
- install -Dm644 poetry/core/spdx/data/licenses.json \
- "$PKG_DEST/$sitedir"/poetry/core/spdx/data/licenses.json
}