diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-05-19 12:47:01 +0200 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-05-19 12:47:01 +0200 |
commit | 6a93195b5ccace16b06d6cf33ba9ed21bbfb6fca (patch) | |
tree | c6d031738406654324e63853b0fc20ec5f5e73db /sci-chemistry/mgltools-pmv | |
parent | sci-chemistry/mgltools-pyautodock fixup (diff) | |
download | sci-6a93195b5ccace16b06d6cf33ba9ed21bbfb6fca.tar.gz sci-6a93195b5ccace16b06d6cf33ba9ed21bbfb6fca.tar.bz2 sci-6a93195b5ccace16b06d6cf33ba9ed21bbfb6fca.zip |
sci-chemistry/mgltools-pmv fixup
Diffstat (limited to 'sci-chemistry/mgltools-pmv')
-rw-r--r-- | sci-chemistry/mgltools-pmv/Manifest | 2 | ||||
-rw-r--r-- | sci-chemistry/mgltools-pmv/mgltools-pmv-1.5.4.ebuild | 22 |
2 files changed, 22 insertions, 2 deletions
diff --git a/sci-chemistry/mgltools-pmv/Manifest b/sci-chemistry/mgltools-pmv/Manifest index 768b08aa1..9eef669c1 100644 --- a/sci-chemistry/mgltools-pmv/Manifest +++ b/sci-chemistry/mgltools-pmv/Manifest @@ -1,4 +1,4 @@ DIST mgltools_source_1.5.4.tar.gz 21503548 RMD160 0b8f7cfe8d808db72bf5c1ea24b5fdd08f8b519c SHA1 ef2e7e1fd48271f9d1676497af37061742931a81 SHA256 1fead1e3a45a87c5db90d44b1cf4d29a73846e162e3fa5e9c20a912320e49866 -EBUILD mgltools-pmv-1.5.4.ebuild 661 RMD160 dadbb8618f8589723be0ab4df30c03cc0f7e3038 SHA1 61a565fe5fa8a5c424388848cd4d83187a61d45d SHA256 03ccad8425964515415d2154f19edbec54c40e89e77f8b34207bbae155ead4a1 +EBUILD mgltools-pmv-1.5.4.ebuild 1149 RMD160 78e9195f81c9463cd962941d8ab3a70fd5b588f8 SHA1 7ec01144ca87b72dec41e984fd8b5205095dd31d SHA256 d4789cd8170ac96d4537b8ce924fe9f8d1402d30cb1c3abf5d67d2527d8daecd MISC ChangeLog 283 RMD160 97ced816f58448648a4653ec21c48e8ee6a15293 SHA1 2268cd2e2f8e6241285b3bca0af59310a98d937c SHA256 18ef162f1a070793451451b2ca777b4a2988ad90f94e151a4ea475506609cfa7 MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c diff --git a/sci-chemistry/mgltools-pmv/mgltools-pmv-1.5.4.ebuild b/sci-chemistry/mgltools-pmv/mgltools-pmv-1.5.4.ebuild index 6ada42954..fa2e832c6 100644 --- a/sci-chemistry/mgltools-pmv/mgltools-pmv-1.5.4.ebuild +++ b/sci-chemistry/mgltools-pmv/mgltools-pmv-1.5.4.ebuild @@ -21,9 +21,29 @@ DEPEND="${RDEPEND} S="${WORKDIR}"/${MY_P} +DOCS="Pmv/RELNOTES Pmv/doc/*.pdf" + 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}" + + sed '1s:^.*$:#!/bin/python:g' -i Pmv/bin/runPmv || die + dobin Pmv/bin/runPmv || die } |