[med-svn] [Git][med-team/cyvcf2][master] 5 commits: New upstream version 0.30.0

Nilesh Patra gitlab at salsa.debian.org
Fri Dec 4 14:36:00 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / cyvcf2


Commits:
5a8626a1 by Nilesh Patra at 2020-12-04T19:57:41+05:30
New upstream version 0.30.0
- - - - -
bc4cac7c by Nilesh Patra at 2020-12-04T19:57:41+05:30
routine-update: New upstream version

- - - - -
4a13e5b7 by Nilesh Patra at 2020-12-04T19:57:43+05:30
Update upstream source from tag 'upstream/0.30.0'

Update to upstream version '0.30.0'
with Debian dir 41ffd080c8ee3dcad6d24de2c3d16c9dfa342ce2
- - - - -
c0c6295d by Nilesh Patra at 2020-12-04T19:57:44+05:30
routine-update: Standards-Version: 4.5.1

- - - - -
ecec6f64 by Nilesh Patra at 2020-12-04T19:58:00+05:30
routine-update: Ready to upload to unstable

- - - - -


7 changed files:

- .travis.yml
- + ci/linux-deps
- + ci/osx-deps
- + ci/test
- cyvcf2/__init__.py
- debian/changelog
- debian/control


Changes:

=====================================
.travis.yml
=====================================
@@ -7,10 +7,15 @@ python:
   - "3.7"
   - "3.8"
 
+addons:
+  homebrew:
+    packages:
+    - openssl
+
 install:
   - sudo apt-get install libcurl4-openssl-dev
   - pip install -r requirements.txt
-  - cd htslib 
+  - cd htslib
   - autoheader && autoconf
   - ./configure --enable-s3 --disable-lzma --disable-bz2
   - make
@@ -19,3 +24,49 @@ install:
 
 script:
   - python setup.py test
+
+jobs:
+  include:
+  - os: linux
+    python: "3.7"
+    env:
+      - CIBW_SKIP="pp* cp27-* cp34-* *i686*"
+      - CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
+      - CIBW_BEFORE_BUILD_LINUX="{project}/ci/linux-deps"
+      - CIBW_TEST_COMMAND="{project}/ci/test"
+      - CIBW_ENVIRONMENT="CYTHONIZE=1 LDFLAGS='-L/usr/lib64/openssl11' CPPFLAGS='-I/usr/include/openssl11' C_INCLUDE_PATH='/root/include' LIBRARY_PATH='/root/lib'"
+    services: docker
+    install:
+      - python3 -m pip install cibuildwheel
+    script:
+      - python3 -m cibuildwheel --output-dir wheelhouse
+    after_success:
+      - |
+        if [ "${TRAVIS_TAG:-}" != "" ]; then
+          python3 -m pip install twine -U
+          python3 -m twine upload --repository testpypi --skip-existing wheelhouse/*
+          python3 setup.py sdist
+          python3 -m twine upload --repository testpypi --skip-existing dist/*
+        fi
+  - os: osx
+    osx_image: xcode10.2
+    language: shell
+    env:
+      - CIBW_SKIP="pp* cp27-* cp34-* *i686*"
+      - CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
+      - CIBW_BEFORE_BUILD_MACOS="{project}/ci/osx-deps"
+      - CIBW_TEST_COMMAND="{project}/ci/test"
+      - CIBW_ENVIRONMENT="CYTHONIZE=1"
+      - LDFLAGS="-L/usr/local/opt/openssl at 1.1/lib"
+      - CPPFLAGS="-I/usr/local/opt/openssl at 1.1/include"
+      - PKG_CONFIG_PATH="/usr/local/opt/openssl at 1.1/lib/pkgconfig"
+    install:
+      - python3 -m pip install cibuildwheel
+    script:
+      - python3 -m cibuildwheel --output-dir wheelhouse
+    after_success:
+      - |
+        if [ "${TRAVIS_TAG:-}" != "" ]; then
+          python3 -m pip install twine -U
+          python3 -m twine upload --repository testpypi --skip-existing wheelhouse/*
+        fi


=====================================
ci/linux-deps
=====================================
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+yum install -y openssl11-devel
+yum install -y libffi libffi-devel zlib-devel
+yum install -y bzip2-devel bzip2-libs xz-devel xz-libs
+
+python -m pip install pip --upgrade
+
+git submodule init
+git submodule update
+
+curl -O https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
+tar xzf libssh2-1.9.0.tar.gz
+cd libssh2-1.9.0
+./configure --prefix=/root
+make
+make install
+cd ..
+rm -rf libssh2-1.9.0
+
+curl -O https://curl.se/download/curl-7.73.0.tar.gz
+tar xzf curl-7.73.0.tar.gz
+cd curl-7.73.0
+./configure --with-libssh2 --prefix=/root
+make
+make install
+cd ..
+rm -rf curl-7.73.0
+
+cd htslib
+autoheader
+autoconf
+./configure --enable-libcurl --enable-s3 --enable-lzma --enable-bz2
+make
+
+cd ..
+pip install -r requirements.txt


=====================================
ci/osx-deps
=====================================
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+python -m pip install pip --upgrade
+
+git submodule init
+git submodule update
+
+cd htslib
+autoheader
+autoconf
+./configure --enable-libcurl --enable-s3 --enable-lzma --enable-bz2
+make
+
+cd ..
+pip install -r requirements.txt


=====================================
ci/test
=====================================
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if (cd ~/ && cyvcf2 --help >/dev/null)
+then
+  echo "cyvcf2 --help: OK"
+else
+  exit 1
+fi
+
+if (cd ~/ && python -c "from cyvcf2 import VCF; VCF('https://github.com/brentp/cyvcf2/raw/master/cyvcf2/tests/test.vcf.gz')")
+then
+  echo "Remote reading: OK"
+else
+  exit 1
+fi


=====================================
cyvcf2/__init__.py
=====================================
@@ -2,4 +2,4 @@ from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
                      par_het)
 Reader = VCFReader = VCF
 
-__version__ = "0.20.9"
+__version__ = "0.30.0"


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+cyvcf2 (0.30.0-1) unstable; urgency=medium
+
+  * New upstream version
+  * Standards-Version: 4.5.1 (routine-update)
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Fri, 04 Dec 2020 19:58:00 +0530
+
 cyvcf2 (0.20.9-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -21,7 +21,7 @@ Build-Depends: debhelper-compat (= 13),
                libhts-dev,
                libbz2-dev,
                help2man <!nodoc>
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Vcs-Browser: https://salsa.debian.org/med-team/cyvcf2
 Vcs-Git: https://salsa.debian.org/med-team/cyvcf2.git
 Homepage: https://github.com/brentp/cyvcf2



View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/820b80aad2df830d4db295f0d6b1399a2184d905...ecec6f64b4dfe59cc6ea4c47c0d4693e959e2571

-- 
View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/820b80aad2df830d4db295f0d6b1399a2184d905...ecec6f64b4dfe59cc6ea4c47c0d4693e959e2571
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/debian-med-commit/attachments/20201204/a0b77755/attachment-0001.html>


More information about the debian-med-commit mailing list