Antonio Valentino pushed to branch master at Debian GIS Project / python-hdf4
Commits:
d2bb90d3 by Antonio Valentino at 2021-08-18T08:05:38+00:00
New upstream version 0.10.3
- - - - -
f6b85620 by Antonio Valentino at 2021-08-18T08:05:40+00:00
Update upstream source from tag 'upstream/0.10.3'
Update to upstream version '0.10.3'
with Debian dir 77f6fd7de9115cafae37554c38c775cd3de0de91
- - - - -
0d76df81 by Antonio Valentino at 2021-08-18T08:06:19+00:00
New upstream release
- - - - -
ee667a4a by Antonio Valentino at 2021-08-18T08:13:44+00:00
Set distribution to unstable
- - - - -
6 changed files:
- + .github/workflows/package.yml
- LICENSE
- debian/changelog
- doc/install.rst
- setup.cfg
- setup.py
Changes:
=====================================
.github/workflows/package.yml
=====================================
@@ -0,0 +1,66 @@
+name: package into static linked wheel
+
+on:
+ push:
+ tags:
+ - 'v*' #
+
+jobs:
+ package:
+ name: package up into a nice wheel
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: actions/setup-python@v2
+ name: Install Python
+ with:
+ python-version: '3.7'
+
+ - name: Install cibuildwheel
+ run: |
+ python -m pip install cibuildwheel==1.9.0
+
+ - name: Build wheels for linux python versions
+ run: |
+ python -m cibuildwheel --output-dir dist
+ env:
+ CIBW_BUILD: '{cp,pp}3*-*'
+ CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
+ CIBW_BEFORE_ALL_LINUX: yum -y install epel-release hdf hdf-devel
&& ln -s /usr/lib64/hdf/lib* /usr/lib64/
+ CIBW_ARCHS_LINUX: 'x86_64'
+
+ - name: purge old _linux_wheels
+ run: |
+ mkdir wheelhouse
+ cp dist/*manylinux* wheelhouse/
+
+ - name: create source distribution archive for pypi
+ run: |
+ python -m pip install numpy
+ python setup.py sdist -d wheelhouse
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: wheelhouse
+ path: wheelhouse
+
+ - name: Publish a Python distribution to Test PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_TEST_TOKEN }}
+ repository_url: https://test.pypi.org/legacy/
+ packages_dir: wheelhouse/
+ verbose: true
+
+ - name: Publish a Python distribution to PyPI
+ if: github.event.base_ref == 'refs/heads/master'
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ user: __token__
+ password: ${{ secrets.PYPI_API_TOKEN }}
+ packages_dir: wheelhouse/
+
+
=====================================
LICENSE
=====================================
@@ -19,3 +19,10 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+
+
+Built distributions of pyhdf also include:
+Libary | License
+- hdf | BSD-3
+- jpeg | Custom BSD-like
+- zlib | zlib
=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-hdf4 (0.10.2-2) UNRELEASED; urgency=medium
+python-hdf4 (0.10.3-1) unstable; urgency=medium
[ Antonio Valentino ]
* Bump Standards-Version to 4.5.1, no changes.
@@ -6,7 +6,7 @@ python-hdf4 (0.10.2-2) UNRELEASED; urgency=medium
[ Bas Couwenberg ]
* Update watch file for GitHub URL changes.
- -- Antonio Valentino <[email protected]> Sat, 25 Jan 2020
11:07:57 +0100
+ -- Antonio Valentino <[email protected]> Wed, 18 Aug 2021
08:13:22 +0000
python-hdf4 (0.10.2-1) unstable; urgency=medium
=====================================
doc/install.rst
=====================================
@@ -16,7 +16,10 @@ Once you're in the conda environment, install `pyhdf from
conda-forge
conda install -c conda-forge pyhdf
If you don't want to use conda, the instructions below describes how you
-can compile pyhdf from source.
+can compile pyhdf from source. Version 0.10.3 also includes static linked
wheels for
+linux with cpython 3.6-3.9. If compatible, `pip install pyhdf` will include
the neccessary
+libraries for you. If you don't want to use the built manylinux distribution,
follow instructions
+below to build from source downloading from pypi with `pip install pyhdf
--no-binary :all:`.
Download the source
=====================================
setup.cfg
=====================================
@@ -6,3 +6,7 @@ requires = HDF-4.2r1
numpy
provides = pyhdf
doc_files = pyhdf/doc/
+
+[options]
+install_requires = numpy
+setup_requires = numpy
=====================================
setup.py
=====================================
@@ -153,7 +153,7 @@ setup(name = 'pyhdf',
license = 'MIT',
long_description = "\n".join(DOCLINES[2:]),
url = 'https://github.com/fhs/pyhdf',
- version = '0.10.2',
+ version = '0.10.3',
packages = ['pyhdf'],
ext_modules = [_hdfext],
data_files = data_files,
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-hdf4/-/compare/0b80089325fc036b1da99d13844cbb198e62924a...ee667a4a6a0fc0f166690f4c268db90313d1cd93
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-hdf4/-/compare/0b80089325fc036b1da99d13844cbb198e62924a...ee667a4a6a0fc0f166690f4c268db90313d1cd93
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel