-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from t20100/debian12
Added debian12 packaging
- Loading branch information
Showing
9 changed files
with
52 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Project: Silx | ||
# https://github.com/silx-kit/silx | ||
# | ||
# Copyright (C) 2015-2020 European Synchrotron Radiation Facility, Grenoble, France | ||
# Copyright (C) 2015-2023 European Synchrotron Radiation Facility, Grenoble, France | ||
# | ||
# Principal author: Jérôme Kieffer ([email protected]) | ||
# | ||
|
@@ -50,6 +50,9 @@ then | |
bullseye) | ||
debian_version=11 | ||
;; | ||
bookworm) | ||
debian_version=12 | ||
;; | ||
esac | ||
fi | ||
|
||
|
@@ -63,13 +66,13 @@ project_directory="`( cd \"$project_directory\" && pwd )`" # absolutized | |
dist_directory=${project_directory}/dist/${target_system} | ||
build_directory=${project_directory}/build/${target_system} | ||
|
||
# Get version info | ||
cd ${project_directory}/src/${project} | ||
version=$(python3 -B -c"import _version; print(_version.version)") | ||
strictversion=$(python3 -B -c"import _version; print(_version.strictversion)") | ||
debianversion=$(python3 -B -c"import _version; print(_version.debianversion)") | ||
cd ${project_directory} | ||
|
||
# Get version info | ||
version=$(python3 -c"import sys; sys.path.insert(0, './src/${project}'); import _version; print(_version.version)") | ||
strictversion=$(python3 -c"import sys; sys.path.insert(0, './src/${project}'); import _version; print(_version.strictversion)") | ||
debianversion=$(python3 -c"import sys; sys.path.insert(0, './src/${project}'); import _version; print(_version.debianversion)") | ||
|
||
if [ -d /usr/lib/ccache ]; | ||
then | ||
export PATH=/usr/lib/ccache:$PATH | ||
|
@@ -91,6 +94,7 @@ optional arguments: | |
--debian9 Simulate a debian 9 Stretch system | ||
--debian10 Simulate a debian 10 Buster system | ||
--debian11 Simulate a debian 11 Bullseye system | ||
--debian12 Simulate a debian 12 Bookworm system | ||
" | ||
|
||
install=0 | ||
|
@@ -139,6 +143,13 @@ do | |
build_directory=${project_directory}/build/${target_system} | ||
shift | ||
;; | ||
--debian12) | ||
debian_version=12 | ||
target_system=debian${debian_version} | ||
dist_directory=${project_directory}/dist/${target_system} | ||
build_directory=${project_directory}/build/${target_system} | ||
shift | ||
;; | ||
-*) | ||
echo "Error: Unknown option: $1" >&2 | ||
echo "$usage" | ||
|
@@ -162,8 +173,8 @@ clean_up() | |
build_deb() { | ||
tarname=${project}_${debianversion}.orig.tar.gz | ||
clean_up | ||
python3 setup.py debian_src | ||
cp -f dist/${tarname} ${build_directory} | ||
python3 setup.py sdist | ||
cp -f dist/${project}-${strictversion}.tar.gz ${build_directory}/${tarname} | ||
if [ -f dist/${project}-testimages.tar.gz ] | ||
then | ||
cp -f dist/${project}-testimages.tar.gz ${build_directory} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Source: hdf5plugin | ||
Maintainer: Thomas Vincent <[email protected]> | ||
Section: python | ||
Priority: optional | ||
Build-Depends: debhelper-compat (= 12), | ||
dh-python, | ||
libgomp1, | ||
python3-all, | ||
python3-h5py, | ||
python3-setuptools, | ||
python3-wheel | ||
Standards-Version: 4.1.3 | ||
Homepage: https://github.com/silx-kit/hdf5plugin | ||
|
||
Package: python3-hdf5plugin | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, python3-h5py, libgomp1 | ||
Description: HDF5 Plugins for windows,MacOS and linux | ||
hdf5plugin | ||
========== | ||
. | ||
*hdf5plugin* provides `HDF5 compression filters <https://portal.hdfgroup.org/display/support/Registered+Filter+Plugins>`_ (namely: Blosc, Blosc2, BitShuffle, BZip2, FciDecomp, LZ4, SZ, SZ3, Zfp, ZStd) and makes them usable from `h5py <https://www.h5py.org>`_. | ||
. | ||
* Supported operating systems: Linux, Windows, macOS. | ||
* Supported versions of Python: >= 3.7 | ||
* Supported architectures: All. | ||
Specific optimizations are available for *x86* family and *ppc64le*. | ||
. | ||
*hdf5plugin* provides a generic way to enable the use of the provided HDF5 compression filters with `h5py`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters