diff options
author | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-12-19 19:43:25 +0000 |
---|---|---|
committer | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-12-19 19:43:25 +0000 |
commit | 45ac03821a620680b26220a4f042ca060b264eb1 (patch) | |
tree | 522c1c8c346757f200afe9058fd9ef77c0f9aca6 /app-misc/ccpublisher | |
parent | www-client/seamonkey-bin: Remove implicit virtual/libc dependency (diff) | |
download | sunrise-45ac03821a620680b26220a4f042ca060b264eb1.tar.gz sunrise-45ac03821a620680b26220a4f042ca060b264eb1.tar.bz2 sunrise-45ac03821a620680b26220a4f042ca060b264eb1.zip |
app-misc/ccpublisher: Fix ebuild: please ask for review before commiting
svn path=/sunrise/; revision=2357
Diffstat (limited to 'app-misc/ccpublisher')
-rw-r--r-- | app-misc/ccpublisher/Manifest | 14 | ||||
-rw-r--r-- | app-misc/ccpublisher/ccpublisher-2.2.1.ebuild (renamed from app-misc/ccpublisher/ccPublisher-2.2.1.ebuild) | 47 | ||||
-rw-r--r-- | app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 (renamed from app-misc/ccpublisher/files/digest-ccPublisher-2.2.1) | 0 |
3 files changed, 23 insertions, 38 deletions
diff --git a/app-misc/ccpublisher/Manifest b/app-misc/ccpublisher/Manifest index c7fc3e644..cbd1ed51c 100644 --- a/app-misc/ccpublisher/Manifest +++ b/app-misc/ccpublisher/Manifest @@ -1,8 +1,8 @@ DIST ccPublisher-2.2.1.tar.gz 394556 RMD160 cf20f5817945f0ebf78026a3e4d8a31aa30009df SHA1 ace556d3169a014fe28ee8f44ade5492bb01a9f6 SHA256 ff9fb22487bb32831f5e4533a72b34b31f029711dcdaa0395e247e94300b9c46 -EBUILD ccPublisher-2.2.1.ebuild 1715 RMD160 c80a06887b999681405bfa991f1011dbe8f21728 SHA1 08b3f16108c1b310ebaddf278655982c660ff29f SHA256 69fc0cc66b061b247494fbc9f5b51a574f3fdae8983e82ab4c72a45464e96564 -MD5 ec8bd9d40b5b22019e7a8f66056820fc ccPublisher-2.2.1.ebuild 1715 -RMD160 c80a06887b999681405bfa991f1011dbe8f21728 ccPublisher-2.2.1.ebuild 1715 -SHA256 69fc0cc66b061b247494fbc9f5b51a574f3fdae8983e82ab4c72a45464e96564 ccPublisher-2.2.1.ebuild 1715 +EBUILD ccpublisher-2.2.1.ebuild 1415 RMD160 65b7cec96fd6c5669f3e8f288434851ba557a734 SHA1 6501a14548263e82f1d90a1796f903265d06b601 SHA256 1aa65b6f055bc9f7cc53abb0c02b4c75ec61f4c018e60ac8b764f2a2d76086b0 +MD5 25668d8785755a2d445703be5269ea88 ccpublisher-2.2.1.ebuild 1415 +RMD160 65b7cec96fd6c5669f3e8f288434851ba557a734 ccpublisher-2.2.1.ebuild 1415 +SHA256 1aa65b6f055bc9f7cc53abb0c02b4c75ec61f4c018e60ac8b764f2a2d76086b0 ccpublisher-2.2.1.ebuild 1415 MISC ChangeLog 266 RMD160 f7944a38dd6a7286b515a6e3ca0882df6435a6ce SHA1 3a0f5e8a85d87a8524939b777c8c74250b1a7d71 SHA256 cad985454aa8ea205ce86bde6b342075cb09f9881fcd0c3c8403c942f6c3826b MD5 55ae4a0d1af4fa02a68c53158beac61d ChangeLog 266 RMD160 f7944a38dd6a7286b515a6e3ca0882df6435a6ce ChangeLog 266 @@ -11,6 +11,6 @@ MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f4 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 -MD5 2a45cd32a65ab7319df0aea0b2db74c9 files/digest-ccPublisher-2.2.1 253 -RMD160 426a071004e9625135533ca0a925ac3d4736514b files/digest-ccPublisher-2.2.1 253 -SHA256 36082b5a82801a98622d098c1ce994ff80b02042044b7ecf291036e5bbe79e29 files/digest-ccPublisher-2.2.1 253 +MD5 2a45cd32a65ab7319df0aea0b2db74c9 files/digest-ccpublisher-2.2.1 253 +RMD160 426a071004e9625135533ca0a925ac3d4736514b files/digest-ccpublisher-2.2.1 253 +SHA256 36082b5a82801a98622d098c1ce994ff80b02042044b7ecf291036e5bbe79e29 files/digest-ccpublisher-2.2.1 253 diff --git a/app-misc/ccpublisher/ccPublisher-2.2.1.ebuild b/app-misc/ccpublisher/ccpublisher-2.2.1.ebuild index 64885f85c..45aa1599c 100644 --- a/app-misc/ccpublisher/ccPublisher-2.2.1.ebuild +++ b/app-misc/ccpublisher/ccpublisher-2.2.1.ebuild @@ -3,9 +3,11 @@ inherit eutils zproduct +MY_P="ccPublisher-${PV}" + DESCRIPTION="Tool to tag and upload CC-licensed media files" HOMEPAGE="http://wiki.creativecommons.org/CcPublisher" -SRC_URI="http://download.berlios.de/cctools/${P}.tar.gz" +SRC_URI="http://download.berlios.de/cctools/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -13,52 +15,36 @@ KEYWORDS="~x86" IUSE="zope" ZPROD_LIST="ccPublisher" -S="${WORKDIR}/${P}" - -DEPEND=">=dev-lang/python-2.4 - >=dev-python/wxpython-2.6.3.2 - >=x11-libs/wxGTK-2.6.3.3 - sys-apps/sed - zope? (net-zope/zope) - dev-python/elementtree" #elementtree is not required for - # python 2.5 or later +DEPEND=">=dev-python/wxpython-2.6.3.2 + >=x11-libs/wxGTK-2.6.3.3 + zope? ( net-zope/zope ) + || ( dev-python/elementtree >=dev-lang/python-2.5 )" RDEPEND="${DEPEND}" -src_install() { - cd ${S} +S="${WORKDIR}/${MY_P}" +src_install() { # change directories, so that the python library is found - sed "s#\.:#/usr/lib/${P}:# ; s#ccp.py#/usr/lib/${P}/ccp.py#" \ - ccPublisher.sh > ccPublisher + sed -i -e "s#\.:#/usr/lib/${P}:# ; s#ccp.py#/usr/lib/${P}/ccp.py#" ccPublisher.sh - dobin ccPublisher + dobin ccPublisher.sh ccPublisher # docs dodoc README.txt dodoc resources/*txt + rm -f ccPublisher* README.txt + # copy python libraries dodir /usr/lib/${P} - #insinto /usr/lib/${P} - #doins does not copy recursively - rm ccPublisher* README.txt -f - cp ${S}/* -r ${D}/usr/lib/${P} + insinto /usr/lib/${P} + doins -r ${S}/* # copying the zope Product folder if use zope; then - einfo "Installing the Zope Product" - - # we need to reorganize a bit, since the zproduct - # eclass defines S=$WORKDIR - cd ${WORKDIR} - mv ${S}/zope ${WORKDIR} - rm -fr ${S}/* - mv ${WORKDIR}/zope ${S}/${PN} - zproduct_src_install all - fi } @@ -68,11 +54,10 @@ pkg_postinst() { elog elog "If you get python errors, check that both wxpython and" elog "wxGTK are the same version." - elog + elog if use zope; then elog "The Zope Product has been installed." elog "Use \"zprod-manager add\" to activate it." elog fi } - diff --git a/app-misc/ccpublisher/files/digest-ccPublisher-2.2.1 b/app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 index 610c73f07..610c73f07 100644 --- a/app-misc/ccpublisher/files/digest-ccPublisher-2.2.1 +++ b/app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 |