aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 12:53:08 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 12:53:08 +0200
commitec9c6b7e78d1c31f7844c44eee7cabc3092a3624 (patch)
tree9fec8f68ab1f0d8f30679bde0111c69ec820ecca /sci-chemistry/mgltools-molkit
parentsci-chemistry/mgltools-networkeditor fixup (diff)
downloadsci-ec9c6b7e78d1c31f7844c44eee7cabc3092a3624.tar.gz
sci-ec9c6b7e78d1c31f7844c44eee7cabc3092a3624.tar.bz2
sci-ec9c6b7e78d1c31f7844c44eee7cabc3092a3624.zip
sci-chemistry/mgltools-molkit fixup
Diffstat (limited to 'sci-chemistry/mgltools-molkit')
-rw-r--r--sci-chemistry/mgltools-molkit/Manifest2
-rw-r--r--sci-chemistry/mgltools-molkit/mgltools-molkit-1.5.4.ebuild23
2 files changed, 21 insertions, 4 deletions
diff --git a/sci-chemistry/mgltools-molkit/Manifest b/sci-chemistry/mgltools-molkit/Manifest
index b3cde352d..c08b4a61f 100644
--- a/sci-chemistry/mgltools-molkit/Manifest
+++ b/sci-chemistry/mgltools-molkit/Manifest
@@ -1,4 +1,4 @@
DIST mgltools_source_1.5.4.tar.gz 21503548 RMD160 0b8f7cfe8d808db72bf5c1ea24b5fdd08f8b519c SHA1 ef2e7e1fd48271f9d1676497af37061742931a81 SHA256 1fead1e3a45a87c5db90d44b1cf4d29a73846e162e3fa5e9c20a912320e49866
-EBUILD mgltools-molkit-1.5.4.ebuild 664 RMD160 03e669cd2705881d76c2721a571c1b6f9dcb0501 SHA1 f18d530a75b4bc9ef4135e51f0b6486a4bb4b2ea SHA256 0ad929706851a04f89b25376af3851a31663c82971c5aceda7c3b9ca50fc5465
+EBUILD mgltools-molkit-1.5.4.ebuild 1079 RMD160 30123b90fac6df84b89ab54be6adb8d8c83b245a SHA1 10f47d4eff1d877e250ae35e06b3d32b076264ff SHA256 4e70078bca87a8f4e5d84939be37d9fed7a1d05136d844aa23a1f3cdcce3c514
MISC ChangeLog 292 RMD160 87be0cdef76c785d0faaa960996a593a2c5e676a SHA1 0401af4e870b476164902e240a2ffff971eab98c SHA256 ec96272c52f832ff032e41ecbf968ff1b650d2e5d44963937fb73c305778c110
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-chemistry/mgltools-molkit/mgltools-molkit-1.5.4.ebuild b/sci-chemistry/mgltools-molkit/mgltools-molkit-1.5.4.ebuild
index 25b4ff640..c992709d0 100644
--- a/sci-chemistry/mgltools-molkit/mgltools-molkit-1.5.4.ebuild
+++ b/sci-chemistry/mgltools-molkit/mgltools-molkit-1.5.4.ebuild
@@ -6,7 +6,7 @@ inherit distutils
MY_P="MolKit-${PV}"
-DESCRIPTION="mgltools plugin -- gle"
+DESCRIPTION="mgltools plugin -- MolKit"
HOMEPAGE="http://mgltools.scripps.edu"
SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz"
@@ -15,15 +15,32 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=""
+RDEPEND="sci-chemistry/pdb2pqr"
DEPEND="${RDEPEND}
dev-lang/swig"
S="${WORKDIR}"/${MY_P}
+DOCS="MolKit/RELNOTES"
+
src_unpack() {
tar xzpf "${DISTDIR}"/${A} mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz
tar xzpf mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz
- find . -name CVS -type d -exec rm -rf '{}' \;
+ find "${S}" -name CVS -type d -exec rm -rf '{}' \; >& /dev/null
+ find "${S}" -name LICENSE -type f -exec rm -f '{}' \; >& /dev/null
+
+ sed \
+ -e 's:^.*CVS:#&1:g' \
+ -e 's:^.*LICENSE:#&1:g' \
+ -i "${S}"/MANIFEST.in
+}
+
+src_install() {
+ mglpath="$(python_get_sitedir)/MGLToolsPckgs/"
+
+ distutils_src_install \
+ --install-purelib="${mglpath}" \
+ --install-platlib="${mglpath}" \
+ --install-scripts="${mglpath}"
}