public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/casacore/
@ 2015-09-01 20:06 Tobias Klausmann
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Klausmann @ 2015-09-01 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     80a8ab7bca669aaa2cff86cc753aaca5d89e26b2
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  1 19:56:51 2015 +0000
Commit:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 19:56:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a8ab7b

sci-astronomy/casacore: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 sci-astronomy/casacore/casacore-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-astronomy/casacore/casacore-1.5.0-r1.ebuild b/sci-astronomy/casacore/casacore-1.5.0-r1.ebuild
index a6048c4..182b3c5 100644
--- a/sci-astronomy/casacore/casacore-1.5.0-r1.ebuild
+++ b/sci-astronomy/casacore/casacore-1.5.0-r1.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit cmake-utils eutils toolchain-funcs fortran-2
 
 DESCRIPTION="Core libraries for the Common Astronomy Software Applications"
-HOMEPAGE="https://code.google.com/p/casacore/"
+HOMEPAGE="https://github.com/casacore/casacore"
 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/casacore/
@ 2016-03-02 18:32 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2016-03-02 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     330632deb4f3a721abf012d910de1359d00aed4d
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 18:23:02 2016 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 19:27:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330632de

sci-astronomy/casacore: renamed showtable exec to showcasatable

Solves conflict with dev-perl/Data-ShowTable
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575726

Package-Manager: portage-2.2.27

 sci-astronomy/casacore/casacore-2.0.3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-astronomy/casacore/casacore-2.0.3.ebuild b/sci-astronomy/casacore/casacore-2.0.3.ebuild
index e795684..6fe96be 100644
--- a/sci-astronomy/casacore/casacore-2.0.3.ebuild
+++ b/sci-astronomy/casacore/casacore-2.0.3.ebuild
@@ -75,6 +75,8 @@ src_compile() {
 
 src_install(){
 	cmake-utils_src_install
+	# conflict, bug #575726 (gone in version > 2.0.4)
+	mv "${ED}"usr/bin/show{,casa}table || die
 	if use doc; then
 		insinto /usr/share/doc/${PF}
 		doins -r doc/html


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/casacore/
@ 2017-07-07 20:40 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2017-07-07 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     d177b3ff53dc5b2e8ae9f8b0d63b70721fdcaf3a
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 20:35:57 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 20:39:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d177b3ff

sci-astronomy/casacore: fixed for multiple python building

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 ...acore-2.3.0.ebuild => casacore-2.3.0-r1.ebuild} | 30 +++++++++++++++++-----
 1 file changed, 23 insertions(+), 7 deletions(-)

diff --git a/sci-astronomy/casacore/casacore-2.3.0.ebuild b/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
similarity index 80%
rename from sci-astronomy/casacore/casacore-2.3.0.ebuild
rename to sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
index 60732fa5e8d..18e6cc0dcc7 100644
--- a/sci-astronomy/casacore/casacore-2.3.0.ebuild
+++ b/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_6 )
 
 inherit cmake-utils eutils toolchain-funcs fortran-2 python-r1
 
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
-IUSE="c++11 +data doc fftw hdf5 openmp python threads test"
+IUSE="+c++11 +data doc fftw hdf5 openmp python threads test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -59,18 +59,19 @@ pkg_pretend() {
 	use openmp && tc-check-openmp
 }
 
-pkg_setup() {
-	use python && python-r1_pkg_setup
-	fortran-2_pkg_setup
+src_prepare() {
+	cmake-utils_src_prepare
+	sed -e '/python-py/s/^.*$/find_package(Boost REQUIRED COMPONENTS python)/' \
+		-e 's/3.5/3.6 3.5/' \
+		-i python3/CMakeLists.txt || die
 }
 
 src_configure() {
 	has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
 	local mycmakeargs=(
 		-DENABLE_SHARED=ON
-		-DPYTHON_EXECUTABLE="${PYTHON}"
+		-DBUILD_PYTHON=OFF
 		-DDATA_DIR="${EPREFIX}/usr/share/casa/data"
-		-DBUILD_PYTHON="$(usex python)"
 		-DBUILD_TESTING="$(usex test)"
 		-DCXX11="$(usex c++11)"
 		-DUSE_FFTW3="$(usex fftw)"
@@ -78,6 +79,20 @@ src_configure() {
 		-DUSE_OPENMP="$(usex openmp)"
 		-DUSE_THREADS="$(usex threads)"
 	)
+	python_set_options() {
+		if python_is_python3; then
+			mycmakeargs+=(
+				-DPYTHON3_EXECUTABLE="${PYTHON}"
+				-DBUILD_PYTHON3=ON
+			)
+		else
+			mycmakeargs+=(
+				-DPYTHON2_EXECUTABLE="${PYTHON}"
+				-DBUILD_PYTHON=ON
+			)
+		fi
+	}
+	use python && python_foreach_impl python_set_options
 	cmake-utils_src_configure
 }
 
@@ -93,5 +108,6 @@ src_install(){
 	if use doc; then
 		insinto /usr/share/doc/${PF}
 		doins -r doc/html
+		docompress -x /usr/share/doc/${PF}/html
 	fi
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/casacore/
@ 2017-07-07 20:40 Sebastien Fabbro
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro @ 2017-07-07 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     b13a156e5f599eaf6211cc69c2f995958ea31876
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 20:39:30 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 20:39:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13a156e

sci-astronomy/casacore: added python3_4 and python3_5

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-astronomy/casacore/casacore-2.3.0-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild b/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
index 18e6cc0dcc7..5a34284e77c 100644
--- a/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
+++ b/sci-astronomy/casacore/casacore-2.3.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit cmake-utils eutils toolchain-funcs fortran-2 python-r1
 
@@ -62,7 +62,6 @@ pkg_pretend() {
 src_prepare() {
 	cmake-utils_src_prepare
 	sed -e '/python-py/s/^.*$/find_package(Boost REQUIRED COMPONENTS python)/' \
-		-e 's/3.5/3.6 3.5/' \
 		-i python3/CMakeLists.txt || die
 }
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-07 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07 20:40 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/casacore/ Sebastien Fabbro
  -- strict thread matches above, loose matches on Subject: below --
2017-07-07 20:40 Sebastien Fabbro
2016-03-02 18:32 Sebastien Fabbro
2015-09-01 20:06 Tobias Klausmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox