commit:     e1a51127853a5aac58d558bcf23c85d33cd60082
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 07:55:42 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=e1a51127

sci-chemistry/chemBuild: Version Bump

Package-Manager: portage-2.2.9-r1

---
 sci-chemistry/chemBuild/ChangeLog              |  5 +++
 sci-chemistry/chemBuild/chemBuild-1.0.4.ebuild | 57 ++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sci-chemistry/chemBuild/ChangeLog 
b/sci-chemistry/chemBuild/ChangeLog
index 4a29f89..55f36ef 100644
--- a/sci-chemistry/chemBuild/ChangeLog
+++ b/sci-chemistry/chemBuild/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*chemBuild-1.0.4 (26 Mar 2014)
+
+  26 Mar 2014; Justin Lecher <[email protected]> +chemBuild-1.0.4.ebuild:
+  Version Bump
+
   08 Jan 2014; Justin Lecher <[email protected]> chemBuild-1.0.3.ebuild:
   Fix double prefix
 

diff --git a/sci-chemistry/chemBuild/chemBuild-1.0.4.ebuild 
b/sci-chemistry/chemBuild/chemBuild-1.0.4.ebuild
new file mode 100644
index 0000000..24554b7
--- /dev/null
+++ b/sci-chemistry/chemBuild/chemBuild-1.0.4.ebuild
@@ -0,0 +1,57 @@
+# 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 python-single-r1 toolchain-funcs
+
+DESCRIPTION="Graphical tool to construct chemical compound definitions for NMR"
+HOMEPAGE="http://www.ccpn.ac.uk/software/chembuild";
+SRC_URI="http://www2.ccpn.ac.uk/download/ccpnmr/${PN}${PV}_WithApi.tar.gz";
+
+SLOT="0"
+LICENSE="|| ( CCPN LGPL-2.1 )"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="dev-python/pyside[webkit,${PYTHON_USEDEP}]"
+DEPEND=""
+
+S="${WORKDIR}"/ccpnmr/ccpnmr3.0/
+
+#TODO:
+#install in sane place
+#unbundle data model
+#unbundle inchi
+#parallel build
+
+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}
+
+       rm -rf cNg license || die
+
+       ebegin "Installing main files"
+       python_moduleinto ${PN}
+       python_domodule *
+       python_optimize
+       eend
+}

Reply via email to