aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 09:26:09 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 09:26:09 +0200
commit1ed1d98d5d8651fbf75271e84e7db359a6d95fb1 (patch)
tree94d6e183d661c22499f030ac7db47138d630aa13 /sci-chemistry/mgltools-volume
parentsci-chemistry/mgltools-webservices fix little typo (diff)
downloadsci-1ed1d98d5d8651fbf75271e84e7db359a6d95fb1.tar.gz
sci-1ed1d98d5d8651fbf75271e84e7db359a6d95fb1.tar.bz2
sci-1ed1d98d5d8651fbf75271e84e7db359a6d95fb1.zip
sci-chemistry/mgltools-volume fixup
Diffstat (limited to 'sci-chemistry/mgltools-volume')
-rw-r--r--sci-chemistry/mgltools-volume/Manifest2
-rw-r--r--sci-chemistry/mgltools-volume/mgltools-volume-1.5.4.ebuild20
2 files changed, 20 insertions, 2 deletions
diff --git a/sci-chemistry/mgltools-volume/Manifest b/sci-chemistry/mgltools-volume/Manifest
index f08153d80..d4d4953d3 100644
--- a/sci-chemistry/mgltools-volume/Manifest
+++ b/sci-chemistry/mgltools-volume/Manifest
@@ -1,4 +1,4 @@
DIST mgltools_source_1.5.4.tar.gz 21503548 RMD160 0b8f7cfe8d808db72bf5c1ea24b5fdd08f8b519c SHA1 ef2e7e1fd48271f9d1676497af37061742931a81 SHA256 1fead1e3a45a87c5db90d44b1cf4d29a73846e162e3fa5e9c20a912320e49866
-EBUILD mgltools-volume-1.5.4.ebuild 671 RMD160 c7f26232f58c098eda78fde9e64acb625a9031c9 SHA1 5fff4f49bf56043eb56c8b298699f5991a8d39b6 SHA256 778d73bf88d162986d9cd2169109b642c2a4b95324cd97440c5d9049b2b8fe5f
+EBUILD mgltools-volume-1.5.4.ebuild 1089 RMD160 f11b71b6eaeac771cd9522057fc0842af1d9d133 SHA1 5d5955b175118c7dc06ea28dfd921b8a0c7398f6 SHA256 f4f9ca2fd945cff8c6e0e58201897bcba5dc5ce321c5c9e92a45b2933d6bef00
MISC ChangeLog 292 RMD160 62f68e63f290594703a4cfe2b945768d64b8b6af SHA1 ec5e341ba78a368513a2d0abfddef8caa3574f25 SHA256 9ec8dd982e88699cebfcbfcfe341f451ef88b27c46234d527270bff54741d375
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-chemistry/mgltools-volume/mgltools-volume-1.5.4.ebuild b/sci-chemistry/mgltools-volume/mgltools-volume-1.5.4.ebuild
index 90de415e8..81763fe6f 100644
--- a/sci-chemistry/mgltools-volume/mgltools-volume-1.5.4.ebuild
+++ b/sci-chemistry/mgltools-volume/mgltools-volume-1.5.4.ebuild
@@ -21,8 +21,26 @@ DEPEND="${RDEPEND}
S="${WORKDIR}"/${MY_P}
+DOCS="Volume/RELNOTES Volume/README Volume/TODO"
+
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}"
}