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(){
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='meson'
|
||||
release='2'
|
||||
version='1.1.1'
|
||||
version='1.2.0'
|
||||
url='https://github.com/mesonbuild/meson'
|
||||
description='High productivity build system'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
||||
source=("https://github.com/mesonbuild/meson/releases/download/$version/meson-$version.tar.gz")
|
||||
depends=(python py3-setuptools)
|
||||
makedepends=( )
|
||||
md5sums=('0f810b31b26156989ac9321fa2063a04')
|
||||
md5sums=('677616183f2c5e03e2139b06280129a0')
|
||||
uses=()
|
||||
group=(dev.util)
|
||||
arch=('x86_64')
|
||||
@@ -18,7 +18,7 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
python -m build --wheel --no-isolation
|
||||
python3 -m build
|
||||
}
|
||||
|
||||
package(){
|
||||
|
||||
Reference in new issue
Block a user