aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 12:58:09 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 12:58:09 +0200
commit77b118370a312695fa9f2015785f8ba1e6dbae91 (patch)
tree90763b0db0b098477d0b8e301bec4349f500dc3b /sci-chemistry/mgltools-geomutils
parentsci-chemistry/mgltools-gle fixup (diff)
downloadsci-77b118370a312695fa9f2015785f8ba1e6dbae91.tar.gz
sci-77b118370a312695fa9f2015785f8ba1e6dbae91.tar.bz2
sci-77b118370a312695fa9f2015785f8ba1e6dbae91.zip
sci-chemistry/mgltools-geomutils fixup
Diffstat (limited to 'sci-chemistry/mgltools-geomutils')
-rw-r--r--sci-chemistry/mgltools-geomutils/Manifest2
-rw-r--r--sci-chemistry/mgltools-geomutils/mgltools-geomutils-1.5.4.ebuild19
2 files changed, 19 insertions, 2 deletions
diff --git a/sci-chemistry/mgltools-geomutils/Manifest b/sci-chemistry/mgltools-geomutils/Manifest
index d548831a5..2e74a9fce 100644
--- a/sci-chemistry/mgltools-geomutils/Manifest
+++ b/sci-chemistry/mgltools-geomutils/Manifest
@@ -1,5 +1,5 @@
AUX 1.5.4-gcc4.3.patch 281 RMD160 9ba56245fdf2fb74cda0d548ec8784b4819d0d58 SHA1 e6058a6287b751109bd462d8f5ff90eba59144db SHA256 666eefc4fab65d869f60a8351cb98ccc9a83b609be94441944463093edaf759a
DIST mgltools_source_1.5.4.tar.gz 21503548 RMD160 0b8f7cfe8d808db72bf5c1ea24b5fdd08f8b519c SHA1 ef2e7e1fd48271f9d1676497af37061742931a81 SHA256 1fead1e3a45a87c5db90d44b1cf4d29a73846e162e3fa5e9c20a912320e49866
-EBUILD mgltools-geomutils-1.5.4.ebuild 683 RMD160 6bbffbef6f687b59b293580df8e457ada39eac68 SHA1 8c0e6ad470e1d11cc4a5271044d83016d916f57c SHA256 515ff59b8be326ca34613809121cb515cf57623c1b949d78dedc91e4f043639f
+EBUILD mgltools-geomutils-1.5.4.ebuild 1104 RMD160 a0a300bcde0fc248fe72d48f85e61a4a5bdf0fd5 SHA1 423a9af3b640785af2fec69745005f4581a7e300 SHA256 101d8f072a8fd7e7d1bfde5ab1434527383f6cf602314d1c458cfc735f6fdf51
MISC ChangeLog 330 RMD160 d5b7ada35ecff5c1dfb2af8f9b7fe41ad3f75487 SHA1 097bd887b54e7894e19d71b3f3aa7a71c9a4eed1 SHA256 482e356eb0860a5f709148c6dd9396ede169536303aadb882d505e8c36cc1e7e
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-chemistry/mgltools-geomutils/mgltools-geomutils-1.5.4.ebuild b/sci-chemistry/mgltools-geomutils/mgltools-geomutils-1.5.4.ebuild
index 664e959bc..3b41c00a3 100644
--- a/sci-chemistry/mgltools-geomutils/mgltools-geomutils-1.5.4.ebuild
+++ b/sci-chemistry/mgltools-geomutils/mgltools-geomutils-1.5.4.ebuild
@@ -6,7 +6,7 @@ inherit distutils eutils
MY_P="${P/mgltools-}"
-DESCRIPTION="mgltools plugin -- gle"
+DESCRIPTION="mgltools plugin -- geomutils"
HOMEPAGE="http://mgltools.scripps.edu"
SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz"
@@ -25,5 +25,22 @@ 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 "${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
+
epatch "${FILESDIR}"/${PV}-gcc4.3.patch
}
+
+src_install() {
+ mglpath="$(python_get_sitedir)/MGLToolsPckgs/"
+
+ distutils_src_install \
+ --install-purelib="${mglpath}" \
+ --install-platlib="${mglpath}" \
+ --install-scripts="${mglpath}"
+}