aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 09:33:27 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-19 09:33:27 +0200
commit16537d3db4be71335e7549039aca499a738efcfb (patch)
treee6d9b696317fba9aa10210510885847fbce50584 /sci-chemistry/mgltools-vision
parentsci-chemistry/mgltools-visionlib fixup (diff)
downloadsci-16537d3db4be71335e7549039aca499a738efcfb.tar.gz
sci-16537d3db4be71335e7549039aca499a738efcfb.tar.bz2
sci-16537d3db4be71335e7549039aca499a738efcfb.zip
sci-chemistry/mgltools-vision fixup
Diffstat (limited to 'sci-chemistry/mgltools-vision')
-rw-r--r--sci-chemistry/mgltools-vision/Manifest2
-rw-r--r--sci-chemistry/mgltools-vision/mgltools-vision-1.5.4.ebuild21
2 files changed, 21 insertions, 2 deletions
diff --git a/sci-chemistry/mgltools-vision/Manifest b/sci-chemistry/mgltools-vision/Manifest
index c44799e8b..ff73bd564 100644
--- a/sci-chemistry/mgltools-vision/Manifest
+++ b/sci-chemistry/mgltools-vision/Manifest
@@ -1,4 +1,4 @@
DIST mgltools_source_1.5.4.tar.gz 21503548 RMD160 0b8f7cfe8d808db72bf5c1ea24b5fdd08f8b519c SHA1 ef2e7e1fd48271f9d1676497af37061742931a81 SHA256 1fead1e3a45a87c5db90d44b1cf4d29a73846e162e3fa5e9c20a912320e49866
-EBUILD mgltools-vision-1.5.4.ebuild 667 RMD160 3ca74d33087cc02d49b9c1b2c98e59767fe9a500 SHA1 661854bb8a895a1cfe17b204cad3cbc82e671fa4 SHA256 c269e844328a5f5e857f7af4e24bdc6807ec21f98392a891c792ae0c7a9c7ee6
+EBUILD mgltools-vision-1.5.4.ebuild 1082 RMD160 ea6e88b816be5bae58e684c7daf38d0f16d5d4b6 SHA1 c52f55fe52e9881808dc16f8673474e3774888e0 SHA256 b6eeddb75ab76c53bdb3f4301c0bae908bf4b9accf3198eb77a4e310ff78b62c
MISC ChangeLog 292 RMD160 6d4c9594c8b148915dab1868f7fb8af86fddc7fa SHA1 3261eb739409a1d6a121f25fb29ed3d9301f0899 SHA256 0a240700e301db76913d6ec216e92ef414cb81fa191aeace8af02f527f1dc419
MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/sci-chemistry/mgltools-vision/mgltools-vision-1.5.4.ebuild b/sci-chemistry/mgltools-vision/mgltools-vision-1.5.4.ebuild
index 3a980e658..1725ea0e5 100644
--- a/sci-chemistry/mgltools-vision/mgltools-vision-1.5.4.ebuild
+++ b/sci-chemistry/mgltools-vision/mgltools-vision-1.5.4.ebuild
@@ -21,9 +21,28 @@ DEPEND="${RDEPEND}
S="${WORKDIR}"/${MY_P}
+DOCS="Vision/FAQ.txt"
+
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}"
+
+ dohtml Vision/FAQ.html
}