commit:     fa4cc4e47fa3f3298a0362bbd0379c9df4a0a11a
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 20:41:55 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 20:43:32 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=fa4cc4e4

dev-python/hdf5storage: version bump to 0.1.15

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 .../hdf5storage/hdf5storage-0.1.15_p1.ebuild       | 31 ++++++++++++++++++++++
 dev-python/hdf5storage/hdf5storage-9999.ebuild     | 25 ++++++++++++-----
 2 files changed, 49 insertions(+), 7 deletions(-)

diff --git a/dev-python/hdf5storage/hdf5storage-0.1.15_p1.ebuild 
b/dev-python/hdf5storage/hdf5storage-0.1.15_p1.ebuild
new file mode 100644
index 000000000..844e22534
--- /dev/null
+++ b/dev-python/hdf5storage/hdf5storage-0.1.15_p1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Read/write Python types to/from HDF5 files, including MATLAB v7.3 
MAT files"
+HOMEPAGE="https://github.com/frejanordsiek/hdf5storage";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/frejanordsiek/hdf5storage";
+else
+       COMMIT=09dfc5fb3a6a3f9c32c2479a896c7f14d3c8d830
+       
SRC_URI="https://github.com/frejanordsiek/hdf5storage/archive/${COMMIT}.tar.gz 
-> ${P}.tar.gz"
+       S="${WORKDIR}"/${PN}-${COMMIT}
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/h5py[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests nose

diff --git a/dev-python/hdf5storage/hdf5storage-9999.ebuild 
b/dev-python/hdf5storage/hdf5storage-9999.ebuild
index 194a845ce..844e22534 100644
--- a/dev-python/hdf5storage/hdf5storage-9999.ebuild
+++ b/dev-python/hdf5storage/hdf5storage-9999.ebuild
@@ -1,14 +1,23 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit distutils-r1 git-r3
+inherit distutils-r1
 
 DESCRIPTION="Read/write Python types to/from HDF5 files, including MATLAB v7.3 
MAT files"
 HOMEPAGE="https://github.com/frejanordsiek/hdf5storage";
-EGIT_REPO_URI="https://github.com/frejanordsiek/${PN}.git 
git://github.com/frejanordsiek/${PN}.git"
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/frejanordsiek/hdf5storage";
+else
+       COMMIT=09dfc5fb3a6a3f9c32c2479a896c7f14d3c8d830
+       
SRC_URI="https://github.com/frejanordsiek/hdf5storage/archive/${COMMIT}.tar.gz 
-> ${P}.tar.gz"
+       S="${WORKDIR}"/${PN}-${COMMIT}
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="BSD"
 SLOT="0"
@@ -16,5 +25,7 @@ SLOT="0"
 RDEPEND="
        dev-python/numpy[${PYTHON_USEDEP}]
        dev-python/h5py[${PYTHON_USEDEP}]
-       "
-DEPEND="${RDEPEND}"
\ No newline at end of file
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests nose

Reply via email to