[Git][debian-gis-team/python-hdf4][upstream] New upstream version 0.10.3

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Wed Aug 18 09:16:51 BST 2021



Antonio Valentino pushed to branch upstream 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
- - - - -


5 changed files:

- + .github/workflows/package.yml
- LICENSE
- 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 at v2
+
+        - uses: actions/setup-python at 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 at v2
+          with:
+            name: wheelhouse
+            path: wheelhouse
+
+        - name: Publish a Python distribution to Test PyPI
+          uses: pypa/gh-action-pypi-publish at 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 at 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


=====================================
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/-/commit/d2bb90d300b2502df5d9b4333d43dbd1a5efa250

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/-/commit/d2bb90d300b2502df5d9b4333d43dbd1a5efa250
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210818/729a1d63/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list