meson update
This commit is contained in:
1 parent
8653ce2344
commit
61cb07086c
3 files changed
+16
-10
No files matched your search
@@ -7,16 +7,26 @@ description='Easily download, build, install, upgrade, and uninstall Python pack
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/pypa/setuptools/archive/refs/tags/v${version}.tar.gz")
|
||||
source=("https://pypi.io/packages/source/s/setuptools/setuptools-$version.tar.gz")
|
||||
depends=(python)
|
||||
makedepends=( )
|
||||
md5sums=('56a2ae897108941b6236a46b0eff6f43')
|
||||
md5sums=('c5e4ff6557d99204464aa300c0bad7d4')
|
||||
uses=()
|
||||
group=(dev.python)
|
||||
arch=('x86_64')
|
||||
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
|
||||
cd setuptools-$version
|
||||
|
||||
prepare(){
|
||||
# Fix post-release tag
|
||||
sed -e '/tag_build = .post/d' \
|
||||
-e '/tag_date = 1/d' \
|
||||
-i setup.cfg
|
||||
}
|
||||
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
@@ -19,14 +19,10 @@ cd wheel-$version
|
||||
|
||||
prepare(){
|
||||
rm -r src/wheel/vendored
|
||||
sed -i 's/from .vendored.packaging.requirements import Requirement/from packaging.requirements import Requirement/' src/wheel/metadata.py
|
||||
sed -i 's/from .vendored.packaging import tags/from packaging import tags/' src/wheel/bdist_wheel.py
|
||||
sed -i 's/from .vendored.packaging import version as _packaging_version/from packaging import version as _packaging_version/' src/wheel/bdist_wheel.py
|
||||
sed -i 's/from wheel.vendored.packaging import tags/from packaging import tags/' tests/test_bdist_wheel.py
|
||||
}
|
||||
|
||||
build(){
|
||||
python3 -m build --wheel --no-isolation
|
||||
python3 -m build
|
||||
}
|
||||
|
||||
package(){
|
||||
|
||||
Reference in new issue
Block a user