Python: updated including dependencies

This commit is contained in:
2025-05-23 14:28:51 +02:00
parent ed0b200a79
commit 1996b245c3
15 changed files with 199 additions and 114 deletions

View File

@@ -1,24 +1,13 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://www.openssl.org/source/$P-$V.tar.gz"
# use system gcc to compile
declare -rx CC=gcc
#declare -rx CC=gcc
pbuild::add_to_group 'Tools'
pbuild::compile_in_sourcetree
pbuild::pre_configure_Darwin() {
pbuild::add_configure_args 'darwin64-x86_64-cc'
}
pbuild::pre_configure_Linux() {
pbuild::add_configure_args 'linux-x86_64'
}
pbuild::configure() {
pbuild::configure(){
export CFLAGS='-fPIC'
"${SRC_DIR}"/Configure shared --prefix="${PREFIX}" "${CONFIGURE_ARGS[@]}" \
local -r os=$(uname -s)
local -r machine=$(uname -m)
"${SRC_DIR}"/Configure shared --prefix="${PREFIX}" "${os,,}-${machine}" \
|| exit 1
}

View File

@@ -0,0 +1,43 @@
---
format: 1
openssl:
defaults:
group: Tools
overlay: base
relstage: stable
compile_in_sourcetree: true
urls:
- url: https://www.openssl.org/source/$P-$V.tar.gz
shasums:
versions:
3.4.1:
config:
docfiles:
- ACKNOWLEDGEMENTS.md
- AUTHORS.md
- CHANGES.md
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- HACKING.md
- INSTALL.md
- LICENSE.txt
- NEWS.md
- NOTES-ANDROID.md
- NOTES-ANSI.md
- NOTES-DJGPP.md
- NOTES-NONSTOP.md
- NOTES-PERL.md
- NOTES-POSIX.md
- NOTES-UNIX.md
- NOTES-VALGRIND.md
- NOTES-VMS.md
- NOTES-WINDOWS.md
- README-ENGINES.md
- README-FIPS.md
- README-PROVIDERS.md
- README-QUIC.md
- README.md
- SUPPORT.md
build_requires:
- perl/5.40.1

View File

@@ -1,24 +1,12 @@
#!/usr/bin/env modbuild
pbuild::add_to_group 'Tools'
pbuild::set_download_url \
"https://sourceforge.net/projects/lzmautils/files/$P-${V_PKG}.tar.gz"
pbuild::set_sha256sum 'xz-5.2.4.tar.gz:b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145'
pbuild::install_docfiles \
AUTHORS \
COPYING \
COPYING.GPLv2 \
COPYING.GPLv3 \
COPYING.LGPLv2.1 \
ChangeLog \
NEWS \
PACKAGERS \
README \
THANKS \
TODO
pbuild::post_prep(){
# autogen.sh exits with an error if po4a
# is not installed. For now we ignore this.
# :FIXME:
# build a po4a module
./autogen.sh || :
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8

View File

@@ -0,0 +1,28 @@
---
format: 1
xz:
defaults:
group: Tools
overlay: base
relstage: stable
docfiles:
- AUTHORS
- COPYING
- COPYING.GPLv2
- COPYING.GPLv3
- COPYING.LGPLv2.1
- ChangeLog
- NEWS
- PACKAGERS
- README
- THANKS
- TODO
urls:
- url: https://sourceforge.net/projects/lzmautils/files/$P-${V_PKG}.tar.gz
shasums:
versions:
5.8.0:
config:
relstage: unstable