* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2012-09-21 8:13 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2012-09-21 8:13 UTC (permalink / raw
To: gentoo-commits
commit: f3d04561367508fb20040cd818df37169a2604d3
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 08:13:26 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 08:13:26 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f3d04561
sci-chemistry/specView: Copile py code
(Portage version: 2.2.0_alpha130/git/Linux x86_64, unsigned Manifest commit)
---
sci-chemistry/specView/ChangeLog | 3 +++
sci-chemistry/specView/specView-1.0.2.ebuild | 7 +++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index a3d4b97..356cc0b 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Copile py code
+
*specView-1.0.2 (21 Sep 2012)
21 Sep 2012; Justin Lecher <jlec@gentoo.org> +specView-1.0.2.ebuild,
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index 5debc8c..013353b 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -97,5 +97,12 @@ src_install() {
chmod 755 ${_file}
done
eend
+}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+pkg_postrm() {
+ python_mod_cleanup ${PN}
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2012-09-21 8:15 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2012-09-21 8:15 UTC (permalink / raw
To: gentoo-commits
commit: 960df68d288976b75a3b82b4df68a4388ce9312c
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 08:15:41 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 08:15:41 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=960df68d
sci-chemistry/specView: Prefix offset for header dirs
(Portage version: 2.2.0_alpha130/git/Linux x86_64, unsigned Manifest commit)
---
sci-chemistry/specView/ChangeLog | 3 +++
sci-chemistry/specView/specView-1.0.2.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 356cc0b..743d2ff 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Prefix offset for header dirs
+
+ 21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Copile py code
*specView-1.0.2 (21 Sep 2012)
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index 013353b..5b640fd 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -44,7 +44,7 @@ src_prepare() {
-e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
-e "/^PYTHON_DIR/s:=.*:= ${EPREFIX}/usr:g" \
-e "/^PYTHON_LIB/s:=.*:= $(python_get_library -l):g" \
- -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I$(python_get_includedir) -I$(python_get_sitedir)/numpy/core/include/numpy:g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I${EPREFIX}$(python_get_includedir) -I${EPREFIX}$(python_get_sitedir)/numpy/core/include/numpy:g" \
-e "/^PYTHON_LIB_FLAGS/s:=.*:= -L${EPREFIX}/usr/$(get_libdir):g" \
-e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
-e "/^GL_DIR/s:=.*:= ${EPREFIX}/usr/$(get_libdir):g" \
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2012-09-21 9:48 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2012-09-21 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 3808a774da6e433981995c22d53f12ccdd214867
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 09:47:51 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 09:47:51 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3808a774
sci-chemistry/specView: Needs webkit support in pyside
(Portage version: 2.2.0_alpha130/git/Linux x86_64, unsigned Manifest commit)
---
sci-chemistry/specView/ChangeLog | 3 +++
sci-chemistry/specView/specView-1.0.2.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 743d2ff..ed8647e 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Needs webkit support in pyside
+
+ 21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Prefix offset for header dirs
21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index 5b640fd..f435c60 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -19,7 +19,7 @@ IUSE=""
RDEPEND="
dev-python/pyopengl
- dev-python/pyside"
+ dev-python/pyside[webkit]"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-03-03 17:52 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2013-03-03 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 7b8bd8b0969597bbe1db0a2feb64f85acf041851
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 3 16:22:22 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar 3 16:22:22 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7b8bd8b0
sci-chemistry/specView: Fix quoting
Package-Manager: portage-2.2.0_alpha164
---
sci-chemistry/specView/ChangeLog | 6 +++++-
sci-chemistry/specView/metadata.xml | 2 +-
sci-chemistry/specView/specView-1.0.2.ebuild | 16 ++++++++--------
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index ed8647e..09193d6 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-chemistry/specView
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 03 Mar 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild,
+ metadata.xml:
+ Fix quoting
+
21 Sep 2012; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Needs webkit support in pyside
diff --git a/sci-chemistry/specView/metadata.xml b/sci-chemistry/specView/metadata.xml
index d369d06..897aa2e 100644
--- a/sci-chemistry/specView/metadata.xml
+++ b/sci-chemistry/specView/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
+ <herd>sci</herd>
</pkgmetadata>
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index f435c60..89666a6 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -37,19 +37,19 @@ pkg_setup() {
src_prepare() {
sed \
- -e "s|/usr|${EPREFIX}/usr|g" \
+ -e "s|/usr|"${EPREFIX}"/usr|g" \
-e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
-e '/^MALLOC_FLAG/s:^:#:g' \
-e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
-e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
- -e "/^PYTHON_DIR/s:=.*:= ${EPREFIX}/usr:g" \
+ -e "/^PYTHON_DIR/s:=.*:= "${EPREFIX}"/usr:g" \
-e "/^PYTHON_LIB/s:=.*:= $(python_get_library -l):g" \
- -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I${EPREFIX}$(python_get_includedir) -I${EPREFIX}$(python_get_sitedir)/numpy/core/include/numpy:g" \
- -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L${EPREFIX}/usr/$(get_libdir):g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"$(python_get_includedir) -I"${EPREFIX}"$(python_get_sitedir)/numpy/core/include/numpy:g" \
+ -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \
-e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
- -e "/^GL_DIR/s:=.*:= ${EPREFIX}/usr/$(get_libdir):g" \
- -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I${EPREFIX}/usr/include:g" \
- -e "/^GL_LIB_FLAGS/s:=.*:= -L${EPREFIX}/usr/$(get_libdir):g" \
+ -e "/^GL_DIR/s:=.*:= "${EPREFIX}"/usr/$(get_libdir):g" \
+ -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"/usr/include:g" \
+ -e "/^GL_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \
cNg/environment_default.txt > cNg/environment.txt || die
echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-06-16 15:53 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2013-06-16 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 3e1cb4dc9866f4cebd8eeedfac3ff142c872a7d2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 15:15:37 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 15:15:37 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3e1cb4dc
sci-chemistry/specView: Bump to EAPI=5 and python-single-r1.eclass
Package-Manager: portage-2.2.0_alpha180
---
sci-chemistry/specView/ChangeLog | 3 ++
sci-chemistry/specView/specView-1.0.2.ebuild | 52 +++++++++-------------------
2 files changed, 19 insertions(+), 36 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 09193d6..b6fe2af 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Jun 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Bump to EAPI=5 and python-single-r1.eclass
+
03 Mar 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild,
metadata.xml:
Fix quoting
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index 89666a6..a0a5bac 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -2,11 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
-PYTHON_DEPEND="2"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit python toolchain-funcs
+inherit multilib python-single-r1 toolchain-funcs
DESCRIPTION="Fast way to visualise NMR spectrum and peak data"
HOMEPAGE="http://www.ccpn.ac.uk/software/specview"
@@ -18,8 +18,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="
- dev-python/pyopengl
- dev-python/pyside[webkit]"
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/pyside[webkit,${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
@@ -30,11 +30,6 @@ S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
#unbundle inchi
#parallel build
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
src_prepare() {
sed \
-e "s|/usr|"${EPREFIX}"/usr|g" \
@@ -43,7 +38,7 @@ src_prepare() {
-e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
-e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
-e "/^PYTHON_DIR/s:=.*:= "${EPREFIX}"/usr:g" \
- -e "/^PYTHON_LIB/s:=.*:= $(python_get_library -l):g" \
+ -e "/^PYTHON_LIB/s:=.*:= $(python_get_LIBS):g" \
-e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"$(python_get_includedir) -I"${EPREFIX}"$(python_get_sitedir)/numpy/core/include/numpy:g" \
-e "/^PYTHON_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \
-e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
@@ -72,37 +67,22 @@ src_install() {
find . -name "*.pyc" -type f -delete
dodir /usr/bin
sed \
- -e "s|gentoo_sitedir|${EPREFIX}$(python_get_sitedir)|g" \
- -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
- -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
- -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
- -e "s|gentoopython|$(PYTHON -a)|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
- -e "s|//|/|g" \
+ -e "s|gentoo_sitedir|${EPREFIX}$(python_get_sitedir)|g" \
+ -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
+ -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
+ -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
+ -e "s|gentoopython|${PYTHON}|g" \
+ -e "s|gentoousr|${EPREFIX}/usr|g" \
+ -e "s|//|/|g" \
"${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
fperms 755 /usr/bin/${PN}
- insinto ${in_path}
-
dodir ${in_path}/cNg
rm -rf cNg || die
ebegin "Installing main files"
- doins -r *
- eend
-
- ebegin "Adjusting permissions"
-
- for _file in $(find "${ED}" -type f -name "*so"); do
- chmod 755 ${_file}
- done
+ python_moduleinto ${PN}
+ python_domodule *
eend
-}
-
-pkg_postinst() {
- python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- python_mod_cleanup ${PN}
+ python_optimize
}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-07-19 12:59 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2013-07-19 12:59 UTC (permalink / raw
To: gentoo-commits
commit: 5b546d05fcf5bd83acc8436b49d1f05f3988089c
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 12:55:37 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 12:55:37 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5b546d05
sci-chemistry/specView: Prefix love
Package-Manager: portage-2.2.0_alpha188
---
sci-chemistry/specView/ChangeLog | 3 +++
sci-chemistry/specView/specView-1.0.2.ebuild | 16 ++++++++--------
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index b6fe2af..57ed032 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Prefix love
+
16 Jun 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Bump to EAPI=5 and python-single-r1.eclass
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index a0a5bac..a225d34 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -32,19 +32,19 @@ S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
src_prepare() {
sed \
- -e "s|/usr|"${EPREFIX}"/usr|g" \
+ -e "s|/usr|\"${EPREFIX}/usr\"|g" \
-e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
-e '/^MALLOC_FLAG/s:^:#:g' \
-e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
-e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
- -e "/^PYTHON_DIR/s:=.*:= "${EPREFIX}"/usr:g" \
+ -e "/^PYTHON_DIR/s:=.*:= \"${EPREFIX}/usr\":g" \
-e "/^PYTHON_LIB/s:=.*:= $(python_get_LIBS):g" \
- -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"$(python_get_includedir) -I"${EPREFIX}"$(python_get_sitedir)/numpy/core/include/numpy:g" \
- -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I\"$(python_get_includedir)\" -I\"$(python_get_sitedir)/numpy/core/include/numpy\":g" \
+ -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
-e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
- -e "/^GL_DIR/s:=.*:= "${EPREFIX}"/usr/$(get_libdir):g" \
- -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"/usr/include:g" \
- -e "/^GL_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \
+ -e "/^GL_DIR/s:=.*:= \"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I\"${EPREFIX}/usr/include\":g" \
+ -e "/^GL_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
cNg/environment_default.txt > cNg/environment.txt || die
echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die
@@ -72,7 +72,7 @@ src_install() {
-e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
-e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
-e "s|gentoopython|${PYTHON}|g" \
- -e "s|gentoousr|${EPREFIX}/usr|g" \
+ -e "s|gentoousr|\"${EPREFIX}/usr\"|g" \
-e "s|//|/|g" \
"${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
fperms 755 /usr/bin/${PN}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-07-19 14:27 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2013-07-19 14:27 UTC (permalink / raw
To: gentoo-commits
commit: 018cdf2f7889492e4e1bd00dab7e4ee6033b4916
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 13:26:50 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 13:26:50 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=018cdf2f
Last prefix bit
---
sci-chemistry/specView/ChangeLog | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 57ed032..dca3233 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
19 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Last prefix bit
+
+ 19 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Prefix love
16 Jun 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-07-22 13:14 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2013-07-22 13:14 UTC (permalink / raw
To: gentoo-commits
commit: a261370f6a38427e886ab7343d859d6a547cc60b
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 20 08:05:16 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jul 20 08:05:40 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a261370f
Last prefix bit
---
sci-chemistry/specView/ChangeLog | 3 +++
sci-chemistry/specView/specView-1.0.2.ebuild | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index dca3233..1ffb22d 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 20 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
+ Last prefix bit
+
19 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Last prefix bit
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild
index a225d34..2337828 100644
--- a/sci-chemistry/specView/specView-1.0.2.ebuild
+++ b/sci-chemistry/specView/specView-1.0.2.ebuild
@@ -77,7 +77,7 @@ src_install() {
"${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
fperms 755 /usr/bin/${PN}
- dodir ${in_path}/cNg
+ dodir "${in_path#${EPREFIX}}/cNg"
rm -rf cNg || die
ebegin "Installing main files"
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2013-08-12 21:27 Sebastien Fabbro
0 siblings, 0 replies; 12+ messages in thread
From: Sebastien Fabbro @ 2013-08-12 21:27 UTC (permalink / raw
To: gentoo-commits
commit: 6a13b56f45088304ab1172646fe2cd19dd68e151
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 7 15:31:44 2013 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 09:34:55 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6a13b56f
sci-chemistry/specView: Version BUmp
Package-Manager: portage-2.2.0_alpha191
---
sci-chemistry/specView/ChangeLog | 5 ++
sci-chemistry/specView/specView-1.0.3.ebuild | 88 ++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 1ffb22d..708fa80 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*specView-1.0.3 (07 Aug 2013)
+
+ 07 Aug 2013; Justin Lecher <jlec@gentoo.org> +specView-1.0.3.ebuild:
+ Version BUmp
+
20 Jul 2013; Justin Lecher <jlec@gentoo.org> specView-1.0.2.ebuild:
Last prefix bit
diff --git a/sci-chemistry/specView/specView-1.0.3.ebuild b/sci-chemistry/specView/specView-1.0.3.ebuild
new file mode 100644
index 0000000..2337828
--- /dev/null
+++ b/sci-chemistry/specView/specView-1.0.3.ebuild
@@ -0,0 +1,88 @@
+# 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} )
+
+inherit multilib python-single-r1 toolchain-funcs
+
+DESCRIPTION="Fast way to visualise NMR spectrum and peak data"
+HOMEPAGE="http://www.ccpn.ac.uk/software/specview"
+SRC_URI="http://www2.ccpn.ac.uk/download/ccpnmr/${PN}${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="|| ( CCPN LGPL-2.1 )"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/pyside[webkit,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
+
+#TODO:
+#install in sane place
+#unbundle data model
+#unbundle inchi
+#parallel build
+
+src_prepare() {
+ sed \
+ -e "s|/usr|\"${EPREFIX}/usr\"|g" \
+ -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
+ -e '/^MALLOC_FLAG/s:^:#:g' \
+ -e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
+ -e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
+ -e "/^PYTHON_DIR/s:=.*:= \"${EPREFIX}/usr\":g" \
+ -e "/^PYTHON_LIB/s:=.*:= $(python_get_LIBS):g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I\"$(python_get_includedir)\" -I\"$(python_get_sitedir)/numpy/core/include/numpy\":g" \
+ -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
+ -e "/^GL_DIR/s:=.*:= \"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I\"${EPREFIX}/usr/include\":g" \
+ -e "/^GL_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ cNg/environment_default.txt > cNg/environment.txt || die
+ echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die
+
+ rm -rf license || die
+
+ sed \
+ -e 's:ln -s:cp -f:g' \
+ -i $(find python -name linkSharedObjs) || die
+}
+
+src_compile() {
+ emake -C cNg all
+ emake -j1 -C cNg links
+}
+
+src_install() {
+ local in_path=$(python_get_sitedir)/${PN}
+ local _file
+
+ find . -name "*.pyc" -type f -delete
+ dodir /usr/bin
+ sed \
+ -e "s|gentoo_sitedir|${EPREFIX}$(python_get_sitedir)|g" \
+ -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
+ -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
+ -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
+ -e "s|gentoopython|${PYTHON}|g" \
+ -e "s|gentoousr|\"${EPREFIX}/usr\"|g" \
+ -e "s|//|/|g" \
+ "${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
+ fperms 755 /usr/bin/${PN}
+
+ dodir "${in_path#${EPREFIX}}/cNg"
+ rm -rf cNg || die
+
+ ebegin "Installing main files"
+ python_moduleinto ${PN}
+ python_domodule *
+ eend
+ python_optimize
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2014-01-08 11:20 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2014-01-08 11:20 UTC (permalink / raw
To: gentoo-commits
commit: ee7b2d4144a6e437fc8dce89132a7af962f9b6f0
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 11:20:14 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 11:20:14 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee7b2d41
sci-chemistry/specView: Fix double prefix
Package-Manager: portage-2.2.8
---
sci-chemistry/specView/ChangeLog | 5 ++++-
sci-chemistry/specView/specView-1.0.3.ebuild | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 708fa80..6ef791c 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-chemistry/specView
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 08 Jan 2014; Justin Lecher <jlec@gentoo.org> specView-1.0.3.ebuild:
+ Fix double prefix
+
*specView-1.0.3 (07 Aug 2013)
07 Aug 2013; Justin Lecher <jlec@gentoo.org> +specView-1.0.3.ebuild:
diff --git a/sci-chemistry/specView/specView-1.0.3.ebuild b/sci-chemistry/specView/specView-1.0.3.ebuild
index 2337828..ebf0749 100644
--- a/sci-chemistry/specView/specView-1.0.3.ebuild
+++ b/sci-chemistry/specView/specView-1.0.3.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: $
@@ -67,7 +67,7 @@ src_install() {
find . -name "*.pyc" -type f -delete
dodir /usr/bin
sed \
- -e "s|gentoo_sitedir|${EPREFIX}$(python_get_sitedir)|g" \
+ -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
-e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
-e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
-e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2014-03-26 7:59 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2014-03-26 7:59 UTC (permalink / raw
To: gentoo-commits
commit: 449645d3a0cf19fb66d1cfeaea85b301adc2b11a
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 07:39:09 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 07:59:26 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=449645d3
sci-chemistry/specView: Version BUmp
Package-Manager: portage-2.2.9-r1
---
sci-chemistry/specView/ChangeLog | 5 ++
sci-chemistry/specView/specView-1.0.3_p2.ebuild | 88 +++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index 6fcf527..e7854b8 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*specView-1.0.3_p2 (26 Mar 2014)
+
+ 26 Mar 2014; Justin Lecher <jlec@gentoo.org> +specView-1.0.3_p2.ebuild:
+ Version BUmp
+
08 Jan 2014; Justin Lecher <jlec@gentoo.org> specView-1.0.3.ebuild:
Fix double prefix
diff --git a/sci-chemistry/specView/specView-1.0.3_p2.ebuild b/sci-chemistry/specView/specView-1.0.3_p2.ebuild
new file mode 100644
index 0000000..279a8fc
--- /dev/null
+++ b/sci-chemistry/specView/specView-1.0.3_p2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit multilib python-single-r1 toolchain-funcs
+
+DESCRIPTION="Fast way to visualise NMR spectrum and peak data"
+HOMEPAGE="http://www.ccpn.ac.uk/software/specview"
+SRC_URI="http://www2.ccpn.ac.uk/download/ccpnmr/${PN}${PV/_p/r}.tar.gz"
+
+SLOT="0"
+LICENSE="|| ( CCPN LGPL-2.1 )"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/pyside[webkit,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
+
+#TODO:
+#install in sane place
+#unbundle data model
+#unbundle inchi
+#parallel build
+
+src_prepare() {
+ sed \
+ -e "s|/usr|\"${EPREFIX}/usr\"|g" \
+ -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
+ -e '/^MALLOC_FLAG/s:^:#:g' \
+ -e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
+ -e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
+ -e "/^PYTHON_DIR/s:=.*:= \"${EPREFIX}/usr\":g" \
+ -e "/^PYTHON_LIB/s:=.*:= $(python_get_LIBS):g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I\"$(python_get_includedir)\" -I\"$(python_get_sitedir)/numpy/core/include/numpy\":g" \
+ -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
+ -e "/^GL_DIR/s:=.*:= \"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I\"${EPREFIX}/usr/include\":g" \
+ -e "/^GL_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ cNg/environment_default.txt > cNg/environment.txt || die
+ echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die
+
+ rm -rf license || die
+
+ sed \
+ -e 's:ln -s:cp -f:g' \
+ -i $(find python -name linkSharedObjs) || die
+}
+
+src_compile() {
+ emake -C cNg all
+ emake -j1 -C cNg links
+}
+
+src_install() {
+ local in_path=$(python_get_sitedir)/${PN}
+ local _file
+
+ find . -name "*.pyc" -type f -delete
+ dodir /usr/bin
+ sed \
+ -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
+ -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
+ -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
+ -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
+ -e "s|gentoopython|${PYTHON}|g" \
+ -e "s|gentoousr|\"${EPREFIX}/usr\"|g" \
+ -e "s|//|/|g" \
+ "${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
+ fperms 755 /usr/bin/${PN}
+
+ dodir "${in_path#${EPREFIX}}/cNg"
+ rm -rf cNg || die
+
+ ebegin "Installing main files"
+ python_moduleinto ${PN}
+ python_domodule *
+ eend
+ python_optimize
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/
@ 2014-04-25 14:32 Justin Lecher
0 siblings, 0 replies; 12+ messages in thread
From: Justin Lecher @ 2014-04-25 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 8df31fa8afc95137fcd56136b9f4abd02cd9c5c7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 14:32:27 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 14:32:27 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8df31fa8
sci-chemistry/specView: Version BUmp
Package-Manager: portage-2.2.10
---
sci-chemistry/specView/ChangeLog | 5 ++
sci-chemistry/specView/specView-1.0.4.ebuild | 89 ++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/sci-chemistry/specView/ChangeLog b/sci-chemistry/specView/ChangeLog
index e7854b8..7ce8a04 100644
--- a/sci-chemistry/specView/ChangeLog
+++ b/sci-chemistry/specView/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*specView-1.0.4 (25 Apr 2014)
+
+ 25 Apr 2014; Justin Lecher <jlec@gentoo.org> +specView-1.0.4.ebuild:
+ Version BUmp
+
*specView-1.0.3_p2 (26 Mar 2014)
26 Mar 2014; Justin Lecher <jlec@gentoo.org> +specView-1.0.3_p2.ebuild:
diff --git a/sci-chemistry/specView/specView-1.0.4.ebuild b/sci-chemistry/specView/specView-1.0.4.ebuild
new file mode 100644
index 0000000..762bdc9
--- /dev/null
+++ b/sci-chemistry/specView/specView-1.0.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit flag-o-matic multilib python-single-r1 toolchain-funcs
+
+DESCRIPTION="Fast way to visualise NMR spectrum and peak data"
+HOMEPAGE="http://www.ccpn.ac.uk/software/specview"
+SRC_URI="http://www2.ccpn.ac.uk/download/ccpnmr/${PN}${PV/_p/r}.tar.gz"
+
+SLOT="0"
+LICENSE="|| ( CCPN LGPL-2.1 )"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/pyside[webkit,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
+
+#TODO:
+#install in sane place
+#unbundle data model
+#unbundle inchi
+#parallel build
+
+src_prepare() {
+ append-cflags -fPIC
+ sed \
+ -e "s|/usr|\"${EPREFIX}/usr\"|g" \
+ -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \
+ -e '/^MALLOC_FLAG/s:^:#:g' \
+ -e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \
+ -e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \
+ -e "/^PYTHON_DIR/s:=.*:= \"${EPREFIX}/usr\":g" \
+ -e "/^PYTHON_LIB/s:=.*:= $(python_get_LIBS):g" \
+ -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I\"$(python_get_includedir)\" -I\"$(python_get_sitedir)/numpy/core/include/numpy\":g" \
+ -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^SHARED_FLAGS/s:=.*:= -shared:g" \
+ -e "/^GL_DIR/s:=.*:= \"${EPREFIX}/usr/$(get_libdir)\":g" \
+ -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I\"${EPREFIX}/usr/include\":g" \
+ -e "/^GL_LIB_FLAGS/s:=.*:= -L\"${EPREFIX}/usr/$(get_libdir)\":g" \
+ cNg/environment_default.txt > cNg/environment.txt || die
+ echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die
+
+ rm -rf license || die
+
+ sed \
+ -e 's:ln -s:cp -f:g' \
+ -i $(find python -name linkSharedObjs) || die
+}
+
+src_compile() {
+ emake -C cNg all
+ emake -j1 -C cNg links
+}
+
+src_install() {
+ local in_path=$(python_get_sitedir)/${PN}
+ local _file
+
+ find . -name "*.pyc" -type f -delete
+ dodir /usr/bin
+ sed \
+ -e "s|gentoo_sitedir|$(python_get_sitedir)|g" \
+ -e "s|gentoolibdir|${EPREFIX}/usr/${libdir}|g" \
+ -e "s|gentootk|${EPREFIX}/usr/${libdir}/tk${tkver}|g" \
+ -e "s|gentootcl|${EPREFIX}/usr/${libdir}/tclk${tkver}|g" \
+ -e "s|gentoopython|${PYTHON}|g" \
+ -e "s|gentoousr|\"${EPREFIX}/usr\"|g" \
+ -e "s|//|/|g" \
+ "${FILESDIR}"/${PN} > "${ED}"/usr/bin/${PN} || die
+ fperms 755 /usr/bin/${PN}
+
+ dodir "${in_path#${EPREFIX}}/cNg"
+ rm -rf cNg || die
+
+ ebegin "Installing main files"
+ python_moduleinto ${PN}
+ python_domodule *
+ eend
+ python_optimize
+}
^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-04-25 14:32 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 17:52 [gentoo-commits] proj/sci:master commit in: sci-chemistry/specView/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2014-04-25 14:32 Justin Lecher
2014-03-26 7:59 Justin Lecher
2014-01-08 11:20 Justin Lecher
2013-08-12 21:27 Sebastien Fabbro
2013-07-22 13:14 Justin Lecher
2013-07-19 14:27 Justin Lecher
2013-07-19 12:59 Justin Lecher
2013-06-16 15:53 Justin Lecher
2012-09-21 9:48 Justin Lecher
2012-09-21 8:15 Justin Lecher
2012-09-21 8:13 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox