* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2011-03-10 19:00 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2011-03-10 19:00 UTC (permalink / raw
To: gentoo-commits
commit: e83df99e01d29ca016570fd3fe7f483480e8d115
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 11:30:15 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 11:30:15 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e83df99e
Correct Slots for gtk 3 introduction to tree
(Portage version: 2.2.0_alpha26/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)
---
sci-chemistry/openbabel-python/ChangeLog | 6 ++-
.../openbabel-python/openbabel-python-2.2.1.ebuild | 46 -----------------
.../openbabel-python/openbabel-python-2.2.2.ebuild | 52 --------------------
.../openbabel-python/openbabel-python-2.3.0.ebuild | 7 +--
4 files changed, 8 insertions(+), 103 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 5c888c0..44fba92 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-chemistry/openbabel-python
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Mar 2011; Justin Lecher <jlec@gentoo.org> -openbabel-python-2.2.1.ebuild,
+ -openbabel-python-2.2.2.ebuild, openbabel-python-2.3.0.ebuild:
+ Correct Slots for gtk 3 introduction to tree
+
*openbabel-python-2.3.0 (13 Nov 2010)
13 Nov 2010; Reinis Danne <rei4dan@gmail.com>
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.2.1.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.2.1.ebuild
deleted file mode 100644
index 52f71cd..0000000
--- a/sci-chemistry/openbabel-python/openbabel-python-2.2.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
-HOMEPAGE="http://openbabel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
-
-KEYWORDS="~amd64"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="swig"
-
-RDEPEND="~sci-chemistry/openbabel-${PV}
- dev-lang/python
- dev-python/imaging
- sci-libs/oasa"
-
-DEPEND="${RDEPEND}
- swig? ( >=dev-lang/swig-1.3.38 )"
-
-S="${WORKDIR}/openbabel-${PV}"
-
-src_compile() {
- econf \
- $(use_enable swig maintainer-mode) \
- --enable-static \
- || die "econf failed"
- if use swig ; then
- cd "${S}/scripts"
- emake -W openbabel-python.i python/openbabel_python.cpp \
- || die "Failed to make SWIG python bindings"
- fi
- S="${S}/scripts/python"
- cd "${S}"
- python ./setup.py build || die "python setup build failed"
-}
-
-src_install() {
- python ./setup.py install --root="${D}" --optimize=1 \
- || die "python setup install failed"
- dohtml *.html
- dodoc README
-}
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.2.2.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.2.2.ebuild
deleted file mode 100644
index 2ba48ec..0000000
--- a/sci-chemistry/openbabel-python/openbabel-python-2.2.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
-HOMEPAGE="http://openbabel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
-
-KEYWORDS="~amd64"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="swig"
-
-RDEPEND="~sci-chemistry/openbabel-${PV}
- dev-lang/python
- dev-python/imaging
- sci-libs/oasa"
-
-DEPEND="${RDEPEND}
- !~sci-chemistry/openbabel-${PV}[python]
- swig? ( >=dev-lang/swig-1.3.39 )"
-
-S="${WORKDIR}/openbabel-${PV}"
-
-src_configure() {
- econf \
- $(use_enable swig maintainer-mode) \
- --enable-static \
- || die "econf failed"
-}
-
-src_compile() {
- if use swig ; then
- cd "${S}/scripts"
- emake -W openbabel-python.i python/openbabel_python.cpp \
- || die "Failed to make SWIG python bindings"
- fi
- S="${S}/scripts/python"
- cd "${S}"
- python ./setup.py build || die "python setup build failed"
-}
-
-src_install() {
- python ./setup.py install --root="${D}" --optimize=1 \
- || die "python setup install failed"
- dohtml *.html
- dodoc README
-}
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
index 70de479..7509385 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/openbabel-2.2.3.ebuild,v 1.11 2010/07/18 14:53:22 armin76 Exp $
@@ -10,7 +10,7 @@ PYTHON_MODNAME="openbabel.py pybel.py"
inherit cmake-utils eutils python distutils
-DESCRIPTION="Interconverts file formats used in molecular modeling"
+DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
HOMEPAGE="http://openbabel.sourceforge.net/"
SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
@@ -21,11 +21,10 @@ IUSE=""
RDEPEND="
~sci-chemistry/openbabel-${PV}
- >=dev-libs/libxml2-2.6.5
+ dev-libs/libxml2:2
!sci-chemistry/babel
dev-cpp/eigen:2
sys-libs/zlib"
-
DEPEND="${RDEPEND}
>=dev-util/cmake-2.6.0"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2011-03-25 17:25 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2011-03-25 17:25 UTC (permalink / raw
To: gentoo-commits
commit: a3fe6fb9fc9b9be85d56ad1a83bb8f62dd74dabe
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 16:56:00 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 16:56:00 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a3fe6fb9
Cleaned ebuild
(Portage version: 2.2.0_alpha28/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
sci-chemistry/openbabel-python/ChangeLog | 4 ++++
sci-chemistry/openbabel-python/metadata.xml | 3 ---
.../openbabel-python/openbabel-python-2.3.0.ebuild | 12 ++++++------
3 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 44fba92..b568ab5 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Mar 2011; Justin Lecher <jlec@gentoo.org> openbabel-python-2.3.0.ebuild,
+ metadata.xml:
+ Cleaned ebuild
+
10 Mar 2011; Justin Lecher <jlec@gentoo.org> -openbabel-python-2.2.1.ebuild,
-openbabel-python-2.2.2.ebuild, openbabel-python-2.3.0.ebuild:
Correct Slots for gtk 3 introduction to tree
diff --git a/sci-chemistry/openbabel-python/metadata.xml b/sci-chemistry/openbabel-python/metadata.xml
index 7dd11d8..78a7105 100644
--- a/sci-chemistry/openbabel-python/metadata.xml
+++ b/sci-chemistry/openbabel-python/metadata.xml
@@ -9,7 +9,4 @@ search, convert, analyze, or store data from molecular modeling, chemistry,
solid-state materials, biochemistry, or related areas. This package enables
to access OpenBabel library from Python programs.
</longdescription>
-<use>
-<flag name='swig'>Enable SWIG language binding regeneration</flag>
-</use>
</pkgmetadata>
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
index 7509385..463ab69 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
@@ -8,27 +8,27 @@ PYTHON_DEPEND="*:2.4"
SUPPORT_PYTHON_ABIS="1"
PYTHON_MODNAME="openbabel.py pybel.py"
-inherit cmake-utils eutils python distutils
+inherit cmake-utils eutils distutils
DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
HOMEPAGE="http://openbabel.sourceforge.net/"
SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
RDEPEND="
- ~sci-chemistry/openbabel-${PV}
+ dev-cpp/eigen:2
dev-libs/libxml2:2
!sci-chemistry/babel
- dev-cpp/eigen:2
+ ~sci-chemistry/openbabel-${PV}
sys-libs/zlib"
DEPEND="${RDEPEND}
- >=dev-util/cmake-2.6.0"
+ dev-util/cmake"
-S="${WORKDIR}/openbabel-${PV}"
+S="${WORKDIR}"/openbabel-${PV}
DISTUTILS_SETUP_FILES="${WORKDIR}/openbabel-${PV}/scripts/python/setup.py"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2011-03-26 16:03 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2011-03-26 16:03 UTC (permalink / raw
To: gentoo-commits
commit: 4eb35eb90fb286dba07e49dcf48dc7369f268509
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 14:34:15 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 14:34:15 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4eb35eb9
Moved swig to DEPEND
(Portage version: 2.2.0_alpha28/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
sci-chemistry/openbabel-python/ChangeLog | 3 +++
.../openbabel-python/openbabel-python-2.3.0.ebuild | 11 ++++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 2d92edd..5255e1c 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 26 Mar 2011; Justin Lecher <jlec@gentoo.org> openbabel-python-2.3.0.ebuild:
+ Moved swig to DEPEND
+
25 Mar 2011; Reinis Danne <rei4dan@gmail.com>
openbabel-python-2.3.0.ebuild,
+files/openbabel-python-2.3.0-py3_iterator.patch,
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
index c5abbeb..3360a55 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
@@ -4,7 +4,7 @@
EAPI="3"
-PYTHON_DEPEND="*:2.4"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
PYTHON_MODNAME="openbabel.py pybel.py"
@@ -24,18 +24,19 @@ RDEPEND="
dev-libs/libxml2:2
!sci-chemistry/babel
~sci-chemistry/openbabel-${PV}
- =dev-lang/swig-2.0.1
sys-libs/zlib"
DEPEND="${RDEPEND}
+ =dev-lang/swig-2.0.1
dev-util/cmake"
S="${WORKDIR}"/openbabel-${PV}
-DISTUTILS_SETUP_FILES="${WORKDIR}/openbabel-${PV}/scripts/python/setup.py"
+DISTUTILS_SETUP_FILES="${S}/scripts/python/setup.py"
src_prepare() {
- epatch "${FILESDIR}/${P}-wrap_OBInternalCoord.patch"
- epatch "${FILESDIR}/${P}-py3_iterator.patch"
+ epatch \
+ "${FILESDIR}"/${P}-wrap_OBInternalCoord.patch \
+ "${FILESDIR}"/${P}-py3_iterator.patch
}
src_configure() {
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2012-10-19 20:40 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2012-10-19 20:40 UTC (permalink / raw
To: gentoo-commits
commit: 21a0fe094d18a9e877cc9fcba3030ab481afe42c
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Fri Oct 19 20:39:22 2012 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Fri Oct 19 20:39:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=21a0fe09
openbabel-python: Add PYTHON_DEPS
---
.../openbabel-python/openbabel-python-2.3.2.ebuild | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
index df2c15b..d134fff 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
LICENSE="GPL-2"
IUSE=""
-RDEPEND="
+RDEPEND="${PYTHON_DEPS}
!sci-chemistry/babel
~sci-chemistry/openbabel-${PV}
sys-libs/zlib"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2012-10-19 20:59 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2012-10-19 20:59 UTC (permalink / raw
To: gentoo-commits
commit: 93c0ec06bd5c4a421df92386777c7f3796f5e028
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Fri Oct 19 20:48:35 2012 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Fri Oct 19 20:48:35 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=93c0ec06
openbabel-python: Fix typo
---
.../openbabel-python/openbabel-python-2.3.2.ebuild | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
index d134fff..18b3718 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
@@ -53,7 +53,7 @@ src_configure() {
-DPYTHON_EXECUTABLE=${PYTHON}
-DPYTHON_INCLUDE_DIR=${EPREFIX}/usr/include/${EPYTHON}
-DPYTHON_LIBRARY=${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so
- -DENABLE_TESTS=ON)"
+ -DENABLE_TESTS=ON"
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2012-11-11 9:52 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2012-11-11 9:52 UTC (permalink / raw
To: gentoo-commits
commit: d3af8bbc041e004862d0480cf290cc4f9eb820ac
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Sat Nov 10 19:25:45 2012 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Sun Nov 11 09:50:49 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d3af8bbc
openbabel-python: Enter BUILD_DIR in src_install
python-r1.eclass doesn't enter BUILD_DIR in python_foreach_impl.
---
sci-chemistry/openbabel-python/ChangeLog | 4 ++++
.../openbabel-python/openbabel-python-2.3.2.ebuild | 8 +++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 51e3bf6..aa49a85 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Nov 2012; Reinis Danne <rei4dan@gmail.com> openbabel-python-2.3.2.ebuild:
+ python-r1.eclass doesn't enter BUILD_DIR in python_foreach_impl, do it
+ manually where necessary.
+
*openbabel-python-2.3.2 (19 Oct 2012)
19 Oct 2012; Reinis Danne <rei4dan@gmail.com> +openbabel-python-2.3.2.ebuild,
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
index 18b3718..f24e084 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.2.ebuild
@@ -84,5 +84,11 @@ src_test() {
}
src_install() {
- python_foreach_impl cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ my_impl_src_install() {
+ cd "${BUILD_DIR}"
+
+ cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ }
+
+ python_foreach_impl my_impl_src_install
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2013-09-26 20:27 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2013-09-26 20:27 UTC (permalink / raw
To: gentoo-commits
commit: 331fd5e22b676cf9fc135ca0bf9e956c056dd669
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Thu Sep 26 20:19:57 2013 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Thu Sep 26 20:25:20 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=331fd5e2
Add sci-chemistry/openbabel-python live ebuild
---
sci-chemistry/openbabel-python/ChangeLog | 10 +++
sci-chemistry/openbabel-python/metadata.xml | 12 ++++
.../openbabel-python/openbabel-python-9999.ebuild | 84 ++++++++++++++++++++++
3 files changed, 106 insertions(+)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
new file mode 100644
index 0000000..0f52b41
--- /dev/null
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/openbabel-python
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*openbabel-python-9999 (26 Sep 2013)
+
+ 26 Sep 2013; Reinis Danne <rei4dan@gmail.com> +openbabel-python-9999.ebuild,
+ +metadata.xml:
+ Add live ebuild.
+
diff --git a/sci-chemistry/openbabel-python/metadata.xml b/sci-chemistry/openbabel-python/metadata.xml
new file mode 100644
index 0000000..f857801
--- /dev/null
+++ b/sci-chemistry/openbabel-python/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <longdescription>
+ Open Babel is a chemical toolbox designed to speak the many languages of
+ chemical data. It's an open, collaborative project allowing anyone to
+ search, convert, analyze, or store data from molecular modeling, chemistry,
+ solid-state materials, biochemistry, or related areas. This package enables
+ to access Open Babel library from Python programs.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
new file mode 100644
index 0000000..f0b1132
--- /dev/null
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit cmake-utils eutils git-2 multilib python-r1
+
+DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
+HOMEPAGE="http://openbabel.sourceforge.net/"
+EGIT_REPO_URI="https://github.com/openbabel/openbabel.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ !sci-chemistry/babel
+ ~sci-chemistry/openbabel-${PV}
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.8
+ >=dev-lang/swig-2"
+
+S="${WORKDIR}"/openbabel-${PV}
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed \
+ -e "s:\"\.\.\":\"${EPREFIX}/usr\":g" \
+ -i test/testbabel.py || die
+ swig -python -c++ -small -O -templatereduce -naturalvar \
+ -I"${EPREFIX}/usr/include/openbabel-2.0" \
+ -o scripts/python/openbabel-python.cpp \
+ -DHAVE_EIGEN \
+ -outdir scripts/python \
+ scripts/openbabel-python.i \
+ || die "Regeneration of openbabel-python.cpp failed"
+}
+
+src_configure() {
+ my_impl_src_configure() {
+ local mycmakeargs="${mycmakeargs}
+ -DCMAKE_INSTALL_RPATH=
+ -DBINDINGS_ONLY=ON
+ -DBABEL_SYSTEM_LIBRARY=${EPREFIX}/usr/$(get_libdir)/libopenbabel.so
+ -DOB_MODULE_PATH=${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}
+ -DLIB_INSTALL_DIR=${ED}/usr/$(get_libdir)/${EPYTHON}/site-packages
+ -DPYTHON_BINDINGS=ON
+ -DPYTHON_EXECUTABLE=${PYTHON}
+ -DPYTHON_INCLUDE_DIR=${EPREFIX}/usr/include/${EPYTHON}
+ -DPYTHON_LIBRARY=${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so
+ -DENABLE_TESTS=ON"
+
+ cmake-utils_src_configure
+ }
+
+ python_foreach_impl my_impl_src_configure
+}
+
+src_compile() {
+ python_parallel_foreach_impl cmake-utils_src_make bindings_python
+}
+
+src_test() {
+ python_foreach_impl cmake-utils_src_test -R py
+}
+
+src_install() {
+ my_impl_src_install() {
+ cd "${BUILD_DIR}" || die
+
+ cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+
+ python_optimize
+ }
+
+ python_foreach_impl my_impl_src_install
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2013-11-14 17:30 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2013-11-14 17:30 UTC (permalink / raw
To: gentoo-commits
commit: eb968aa7ed7578f013aa2a04a52f47a1d04e6e0e
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Thu Nov 14 17:28:36 2013 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Thu Nov 14 17:28:36 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eb968aa7
sci-chemistry/openbabel-python: Let CMake find module dir
---
sci-chemistry/openbabel-python/ChangeLog | 3 +++
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 0f52b41..f02b86c 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 14 Nov 2013; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
+ CMake now is able to find Python module target dir.
+
*openbabel-python-9999 (26 Sep 2013)
26 Sep 2013; Reinis Danne <rei4dan@gmail.com> +openbabel-python-9999.ebuild,
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index f0b1132..de787dd 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -50,7 +50,6 @@ src_configure() {
-DBINDINGS_ONLY=ON
-DBABEL_SYSTEM_LIBRARY=${EPREFIX}/usr/$(get_libdir)/libopenbabel.so
-DOB_MODULE_PATH=${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}
- -DLIB_INSTALL_DIR=${ED}/usr/$(get_libdir)/${EPYTHON}/site-packages
-DPYTHON_BINDINGS=ON
-DPYTHON_EXECUTABLE=${PYTHON}
-DPYTHON_INCLUDE_DIR=${EPREFIX}/usr/include/${EPYTHON}
@@ -75,7 +74,7 @@ src_install() {
my_impl_src_install() {
cd "${BUILD_DIR}" || die
- cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ DESTDIR=${ED} cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
python_optimize
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2014-01-06 18:48 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-01-06 18:48 UTC (permalink / raw
To: gentoo-commits
commit: e3205b4dde5899a6b4ac44eac8d53ca06654537f
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 18:39:24 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 18:39:24 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e3205b4d
sci-chemistry/openbabel-python: Switch from git-2 to git-r3
Package-Manager: portage-2.2.8
---
sci-chemistry/openbabel-python/ChangeLog | 5 ++++-
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 5 +++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index f02b86c..7fb1385 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-chemistry/openbabel-python
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jan 2014; Justin Lecher <jlec@gentoo.org> openbabel-python-9999.ebuild:
+ Switch from git-2 to git-r3
+
14 Nov 2013; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
CMake now is able to find Python module target dir.
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index de787dd..ba62fbf 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -6,10 +6,11 @@ EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-inherit cmake-utils eutils git-2 multilib python-r1
+inherit cmake-utils eutils git-r3 multilib python-r1
DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
HOMEPAGE="http://openbabel.sourceforge.net/"
+SRC_URI=""
EGIT_REPO_URI="https://github.com/openbabel/openbabel.git"
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2014-02-14 18:19 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2014-02-14 18:19 UTC (permalink / raw
To: gentoo-commits
commit: f63b2fe477bbe9d9614aacc57299803d0fa6a134
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Fri Feb 14 18:08:10 2014 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Fri Feb 14 18:08:10 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f63b2fe4
sci-chemistry/openbabel-python: Fix move to git-r3
---
sci-chemistry/openbabel-python/ChangeLog | 3 +++
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 7fb1385..701f15d 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 14 Feb 2014; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
+ Fix move to git-r3.
+
06 Jan 2014; Justin Lecher <jlec@gentoo.org> openbabel-python-9999.ebuild:
Switch from git-2 to git-r3
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index ba62fbf..a9bf578 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -28,8 +28,6 @@ DEPEND="${RDEPEND}
>=dev-util/cmake-2.4.8
>=dev-lang/swig-2"
-S="${WORKDIR}"/openbabel-${PV}
-
src_prepare() {
cmake-utils_src_prepare
sed \
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2014-06-11 14:47 Reinis Danne
0 siblings, 0 replies; 16+ messages in thread
From: Reinis Danne @ 2014-06-11 14:47 UTC (permalink / raw
To: gentoo-commits
commit: a46f1ddebe4c111f40112ebb7531da4e3cacbd76
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Wed Jun 11 14:44:55 2014 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Wed Jun 11 14:44:55 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a46f1dde
sci-chemistry/openbabel-python: Update PYTHON_COMPAT
---
sci-chemistry/openbabel-python/ChangeLog | 3 +++
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 701f15d..7e4afb9 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 11 Jun 2014; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
+ Update PYTHON_COMPAT.
+
14 Feb 2014; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
Fix move to git-r3.
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index a9bf578..2ef4a53 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
inherit cmake-utils eutils git-r3 multilib python-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2014-09-16 17:01 Christoph Junghans
0 siblings, 0 replies; 16+ messages in thread
From: Christoph Junghans @ 2014-09-16 17:01 UTC (permalink / raw
To: gentoo-commits
commit: 904430c3320ae3cbe5c557488488c445f0eba53e
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 16:39:34 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 16:39:34 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=904430c3
quote vars
Package-Manager: portage-2.2.8-r1
---
sci-chemistry/openbabel-python/ChangeLog | 5 ++++-
.../openbabel-python/openbabel-python-9999.ebuild | 15 ++++++++-------
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index 7e4afb9..6d021f4 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Sep 2014; Christoph Junghans <ottxor@gentoo.org>
+ openbabel-python-9999.ebuild:
+ quote vars
+
11 Jun 2014; Reinis Danne <rei4dan@gmail.com> openbabel-python-9999.ebuild:
Update PYTHON_COMPAT.
@@ -19,4 +23,3 @@
26 Sep 2013; Reinis Danne <rei4dan@gmail.com> +openbabel-python-9999.ebuild,
+metadata.xml:
Add live ebuild.
-
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index 2ef4a53..3a6c090 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -44,16 +44,17 @@ src_prepare() {
src_configure() {
my_impl_src_configure() {
- local mycmakeargs="${mycmakeargs}
+ local mycmakeargs=(
-DCMAKE_INSTALL_RPATH=
-DBINDINGS_ONLY=ON
- -DBABEL_SYSTEM_LIBRARY=${EPREFIX}/usr/$(get_libdir)/libopenbabel.so
- -DOB_MODULE_PATH=${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}
+ -DBABEL_SYSTEM_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libopenbabel.so
+ -DOB_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/openbabel/${PV}
-DPYTHON_BINDINGS=ON
- -DPYTHON_EXECUTABLE=${PYTHON}
- -DPYTHON_INCLUDE_DIR=${EPREFIX}/usr/include/${EPYTHON}
- -DPYTHON_LIBRARY=${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so
- -DENABLE_TESTS=ON"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ -DPYTHON_INCLUDE_DIR="${EPREFIX}"/usr/include/"${EPYTHON}"
+ -DPYTHON_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/lib"${EPYTHON}".so
+ -DENABLE_TESTS=ON
+ )
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2015-11-11 14:38 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-11-11 14:38 UTC (permalink / raw
To: gentoo-commits
commit: 1899ece8f99460518e2ea401f288e60e062658eb
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 14:37:44 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 14:37:59 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1899ece8
sci-chemistry/openbabel-python: Import tree changes
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel-python/metadata.xml | 2 +-
.../openbabel-python/openbabel-python-9999.ebuild | 23 ++++++++++++----------
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/sci-chemistry/openbabel-python/metadata.xml b/sci-chemistry/openbabel-python/metadata.xml
index 66b2cb7..56c946c 100644
--- a/sci-chemistry/openbabel-python/metadata.xml
+++ b/sci-chemistry/openbabel-python/metadata.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-chemistry</herd>
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index 69c0acd..03c35f6 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit cmake-utils eutils git-r3 multilib python-r1
@@ -21,11 +21,9 @@ IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- !sci-chemistry/babel
~sci-chemistry/openbabel-${PV}
sys-libs/zlib"
DEPEND="${RDEPEND}
- >=dev-util/cmake-2.4.8
>=dev-lang/swig-2"
src_prepare() {
@@ -40,6 +38,9 @@ src_prepare() {
-outdir scripts/python \
scripts/openbabel-python.i \
|| die "Regeneration of openbabel-python.cpp failed"
+ sed \
+ -e '/__GNUC__/s:== 4:>= 4:g' \
+ -i include/openbabel/shared_ptr.h || die
}
src_configure() {
@@ -47,12 +48,14 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_RPATH=
-DBINDINGS_ONLY=ON
- -DBABEL_SYSTEM_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libopenbabel.so
- -DOB_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/openbabel/${PV}
+ -DBABEL_SYSTEM_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libopenbabel.so"
+ -DOB_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}"
+ -DLIB_INSTALL_DIR="${D}$(python_get_sitedir)"
-DPYTHON_BINDINGS=ON
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DPYTHON_INCLUDE_DIR="${EPREFIX}"/usr/include/"${EPYTHON}"
- -DPYTHON_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/lib"${EPYTHON}".so
+ -DPYTHON_EXECUTABLE=${PYTHON}
+ -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
+ -DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
+ -DPYTHON_LIBRARY="$(python_get_library_path)"
-DENABLE_TESTS=ON
)
@@ -74,7 +77,7 @@ src_install() {
my_impl_src_install() {
cd "${BUILD_DIR}" || die
- DESTDIR=${ED} cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
+ cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
python_optimize
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2016-01-06 7:53 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2016-01-06 7:53 UTC (permalink / raw
To: gentoo-commits
commit: c6ef627cb6b787a92c3f109df23b7c90074a53b7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 6 07:52:51 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 6 07:52:51 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c6ef627c
sci-chemistry/openbabel-python: Fix sanbox problems during installation
respect CXXFLAGS
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570516
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index 03c35f6..b80dcf9 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -47,12 +47,13 @@ src_configure() {
my_impl_src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_RPATH=
+ -DOPTIMIZE_NATIVE=OFF
-DBINDINGS_ONLY=ON
-DBABEL_SYSTEM_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libopenbabel.so"
-DOB_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}"
- -DLIB_INSTALL_DIR="${D}$(python_get_sitedir)"
-DPYTHON_BINDINGS=ON
-DPYTHON_EXECUTABLE=${PYTHON}
+ -DCMAKE_INSTALL_PREFIX="${D}/usr"
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
-DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
-DPYTHON_LIBRARY="$(python_get_library_path)"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2016-01-07 9:16 Justin Lecher
0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2016-01-07 9:16 UTC (permalink / raw
To: gentoo-commits
commit: 1ca1c250c1a4c7eaf7899efc1968e6042509e9fd
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Wed Jan 6 14:25:47 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 6 14:25:47 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1ca1c250
sci-chemistry/openbabel-python: Remove obsolete sed
sci-chemistry/openbabel-python/openbabel-python-9999.ebuild | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
index b80dcf9..c2a3d19 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
@@ -38,9 +38,6 @@ src_prepare() {
-outdir scripts/python \
scripts/openbabel-python.i \
|| die "Regeneration of openbabel-python.cpp failed"
- sed \
- -e '/__GNUC__/s:== 4:>= 4:g' \
- -i include/openbabel/shared_ptr.h || die
}
src_configure() {
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/
@ 2021-01-05 19:38 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2021-01-05 19:38 UTC (permalink / raw
To: gentoo-commits
commit: f36461f6a9cdfb88e0098e02eea73a1d4d7c6189
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 5 19:35:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 5 19:35:27 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f36461f6
sci-chemistry/openbabel-python: remove pack, py2 only
All versions compatible with openbabel::gentoo are py2 only
There is a PR open to ::gentoo to bump openbabel and add py3
compatible version of openbabel-python to ::gentoo
https://github.com/gentoo/gentoo/pull/16182/files
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-chemistry/openbabel-python/metadata.xml | 18 -----
.../openbabel-python/openbabel-python-9999.ebuild | 83 ----------------------
2 files changed, 101 deletions(-)
diff --git a/sci-chemistry/openbabel-python/metadata.xml b/sci-chemistry/openbabel-python/metadata.xml
deleted file mode 100644
index 1acf891c7..000000000
--- a/sci-chemistry/openbabel-python/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <longdescription>
-Open Babel is a chemical toolbox designed to speak the many languages of
-chemical data. It's an open, collaborative project allowing anyone to
-search, convert, analyze, or store data from molecular modeling, chemistry,
-solid-state materials, biochemistry, or related areas. This package enables
-to access Open Babel library from Python programs.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">openbabel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild b/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
deleted file mode 100644
index 7d4ab0f8e..000000000
--- a/sci-chemistry/openbabel-python/openbabel-python-9999.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
-
-inherit cmake-utils eutils git-r3 multilib python-r1
-
-DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
-HOMEPAGE="http://openbabel.sourceforge.net/"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/openbabel/openbabel.git"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- ~sci-chemistry/openbabel-${PV}
- sys-libs/zlib"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2"
-
-src_prepare() {
- cmake-utils_src_prepare
- sed \
- -e "s:\"\.\.\":\"${EPREFIX}/usr\":g" \
- -i test/testbabel.py || die
- swig -python -c++ -small -O -templatereduce -naturalvar \
- -I"${EPREFIX}/usr/include/openbabel-2.0" \
- -o scripts/python/openbabel-python.cpp \
- -DHAVE_EIGEN \
- -outdir scripts/python \
- scripts/openbabel-python.i \
- || die "Regeneration of openbabel-python.cpp failed"
-}
-
-src_configure() {
- my_impl_src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_RPATH=
- -DOPTIMIZE_NATIVE=OFF
- -DBINDINGS_ONLY=ON
- -DBABEL_SYSTEM_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libopenbabel.so"
- -DOB_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/openbabel/${PV}"
- -DPYTHON_BINDINGS=ON
- -DPYTHON_EXECUTABLE=${PYTHON}
- -DCMAKE_INSTALL_PREFIX="${D}/usr"
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
- -DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
- -DPYTHON_LIBRARY="$(python_get_library_path)"
- -DENABLE_TESTS=ON
- )
-
- cmake-utils_src_configure
- }
-
- python_foreach_impl my_impl_src_configure
-}
-
-src_compile() {
- python_foreach_impl cmake-utils_src_make bindings_python
-}
-
-src_test() {
- python_foreach_impl cmake-utils_src_test -R py
-}
-
-src_install() {
- my_impl_src_install() {
- cd "${BUILD_DIR}" || die
-
- cmake -DCOMPONENT=bindings_python -P cmake_install.cmake
-
- python_optimize
- }
-
- python_foreach_impl my_impl_src_install
-}
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2021-01-05 19:38 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 17:30 [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-python/ Reinis Danne
-- strict thread matches above, loose matches on Subject: below --
2021-01-05 19:38 Andrew Ammerlaan
2016-01-07 9:16 Justin Lecher
2016-01-06 7:53 Justin Lecher
2015-11-11 14:38 Justin Lecher
2014-09-16 17:01 Christoph Junghans
2014-06-11 14:47 Reinis Danne
2014-02-14 18:19 Reinis Danne
2014-01-06 18:48 Justin Lecher
2013-09-26 20:27 Reinis Danne
2012-11-11 9:52 Reinis Danne
2012-10-19 20:59 Reinis Danne
2012-10-19 20:40 Reinis Danne
2011-03-26 16:03 Justin Lecher
2011-03-25 17:25 Justin Lecher
2011-03-10 19:00 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox