From 8653946d6e070508f9b12fab04d36a186236eb01 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 16 Mar 2025 11:12:47 +0200 Subject: [PATCH] Add license and fix dependencies --- pkg.info | 5 ++--- source.sh | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 28e7ee0..4c29225 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: python-setuptools description: Easily download, build, install, upgrade, and uninstall Python packages version: 69.1.0 -revision: 2 +revision: 3 url: https://pypi.org/project/setuptools/ license: MIT architecture: any -depends: ["python3"] -make_depends: ["python3","python-wheel"] +depends: ["python3","python-wheel"] type: source diff --git a/source.sh b/source.sh index 2aa5cb0..2318134 100644 --- a/source.sh +++ b/source.sh @@ -22,4 +22,6 @@ build() { # This function is used to move the compiled files into the output directory package() { pip3 install --root="$BPM_OUTPUT" --ignore-installed --no-index --find-links dist setuptools + + install -Dm644 LICENSE "$BPM_OUTPUT"/usr/share/licenses/python-setuptools/LICENSE }