index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-08 15:23:02 +0200 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-08 15:23:02 +0200 |
commit | bac778e7e3d3fb9e2de20c83674ac81055681f0b (patch) | |
tree | 826d12a6a740e29614fea4439e8229de7d34d085 | |
parent | d2d5e622f81ae9e20af75035b78d8a888f6f2731 (diff) |
-rw-r--r-- | extra/python-setuptools/PKGBUILD | 40 |
diff --git a/extra/python-setuptools/PKGBUILD b/extra/python-setuptools/PKGBUILD deleted file mode 100644 index 63552ad5..00000000 --- a/extra/python-setuptools/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# WARNING! If you get an error along the lines of -# "error: cannot copy tree 'build/scripts-3.11': not a directory", STOP! -# -# You might be tempted, but do *NOT* `mkdir build/scripts-3.XX`. -# -# This happens because upstream is using the git repo which doesn't have the metadata. -# It doesn't affect upstream because their setuptools already has a directory .egg-info, -# whereas if we have an .egg-info file, then it will result in "error: invalid command 'egg_info'" -# when trying to build any python package that uses setuptools. -# -# That said, let's build from the source tarball which already has the metadata. - -# Add the tarball -source[0]="https://pypi.python.org/packages/source/s/setuptools/setuptools-$pkgver.tar.gz" -# Depending on how annoying this gets, maybe comment it to switch back to SKIP -sha512sums[0]='11df934931f4b73f7e07ea5713479593c6baa134d423556b2ae7aff0f1e5bdbdee1f5b516131adb169c838231ceb0293441fbf275ef7030dabecf74122565b6d' - -# Work around the directory name containing the version. -eval "$( - declare -f prepare | \ - sed -r 's/cd setuptools;?$/cd setuptools-$pkgver/' -)" -eval "$( - declare -f build | \ - sed -r 's/cd setuptools;?$/cd setuptools-$pkgver/' -)" -eval "$( - declare -f package | \ - sed -r 's/cd setuptools;?$/cd setuptools-$pkgver/' -)" - -# Skip the last two patches. -eval "$( - declare -f prepare | \ - sed '/add-dependency.patch/d' | sed '/build-no-isolation.patch/d' -)" - -# Don't bother with the tests. -unset check -unset checkdepends |