diff options
author | Mikael Lammentausta <mikael.lammentausta@gmail.com> | 2006-12-20 10:44:12 +0000 |
---|---|---|
committer | Mikael Lammentausta <mikael.lammentausta@gmail.com> | 2006-12-20 10:44:12 +0000 |
commit | 88278e59b999028553a102ddce659f78c1bbb79a (patch) | |
tree | 5306dccc93335c41332df81e6f09d5b602585a7e /app-misc/ccpublisher | |
parent | app-admin/ldapscripts: re-commit, ebuild for bug 158441 (diff) | |
download | sunrise-88278e59b999028553a102ddce659f78c1bbb79a.tar.gz sunrise-88278e59b999028553a102ddce659f78c1bbb79a.tar.bz2 sunrise-88278e59b999028553a102ddce659f78c1bbb79a.zip |
app-misc/ccpublisher: re-commit, ebuild for bug 157494
svn path=/sunrise/; revision=2369
Diffstat (limited to 'app-misc/ccpublisher')
-rw-r--r-- | app-misc/ccpublisher/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/ccpublisher/Manifest | 16 | ||||
-rw-r--r-- | app-misc/ccpublisher/ccpublisher-2.2.1.ebuild | 82 | ||||
-rw-r--r-- | app-misc/ccpublisher/files/digest-ccPublisher-2.2.1 | 3 | ||||
-rw-r--r-- | app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 | 3 | ||||
-rw-r--r-- | app-misc/ccpublisher/metadata.xml | 5 |
6 files changed, 117 insertions, 0 deletions
diff --git a/app-misc/ccpublisher/ChangeLog b/app-misc/ccpublisher/ChangeLog new file mode 100644 index 000000000..e96e00cd2 --- /dev/null +++ b/app-misc/ccpublisher/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-misc/ccpublisher +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 20 Dec 2006; Mikael Lammentausta (lamikae) <lamikae@developer.berlios.de> + +ccpublisher-2.2.1.ebuild, +metadata.xml: + re-commit, ebuild for bug 157494 + diff --git a/app-misc/ccpublisher/Manifest b/app-misc/ccpublisher/Manifest new file mode 100644 index 000000000..373f66ad4 --- /dev/null +++ b/app-misc/ccpublisher/Manifest @@ -0,0 +1,16 @@ +DIST ccPublisher-2.2.1.tar.gz 394556 RMD160 cf20f5817945f0ebf78026a3e4d8a31aa30009df SHA1 ace556d3169a014fe28ee8f44ade5492bb01a9f6 SHA256 ff9fb22487bb32831f5e4533a72b34b31f029711dcdaa0395e247e94300b9c46 +EBUILD ccpublisher-2.2.1.ebuild 1924 RMD160 773fdbb3d0d698db72389a204674406c3b31b23c SHA1 59cc15fbb9f6df8f2fca1ae04571825506c909b2 SHA256 07c49bd434a3703218f7ae932a4d6dc52f54c880828a6ca5042a81ddb3d9069f +MD5 683d79216f3d0eb4b90386185800661e ccpublisher-2.2.1.ebuild 1924 +RMD160 773fdbb3d0d698db72389a204674406c3b31b23c ccpublisher-2.2.1.ebuild 1924 +SHA256 07c49bd434a3703218f7ae932a4d6dc52f54c880828a6ca5042a81ddb3d9069f ccpublisher-2.2.1.ebuild 1924 +MISC ChangeLog 277 RMD160 984f9ddd3e3cae952e4e83ef4ce8b14b9f3a2176 SHA1 d62ea4e931ff0a93483ce3adda19cfe9d63b4e57 SHA256 c66c5aa11e2fce103181421c5178d0c6b9662ced23e241cda2894c9926eae44e +MD5 86ab5880f78a8cc09dae51b3afcdfba1 ChangeLog 277 +RMD160 984f9ddd3e3cae952e4e83ef4ce8b14b9f3a2176 ChangeLog 277 +SHA256 c66c5aa11e2fce103181421c5178d0c6b9662ced23e241cda2894c9926eae44e ChangeLog 277 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +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 diff --git a/app-misc/ccpublisher/ccpublisher-2.2.1.ebuild b/app-misc/ccpublisher/ccpublisher-2.2.1.ebuild new file mode 100644 index 000000000..8efa6415b --- /dev/null +++ b/app-misc/ccpublisher/ccpublisher-2.2.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils zproduct python + +MY_PN="ccPublisher" +DESCRIPTION="Tool to tag and upload CC-licensed media files" +HOMEPAGE="http://wiki.creativecommons.org/CcPublisher" +SRC_URI="http://download.berlios.de/cctools/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="zope" + +ZPROD_LIST="${MY_PN}" +S="${WORKDIR}/${MY_PN}-${PV}" + +DEPEND="" +RDEPEND=">=dev-lang/python-2.4 + >=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 )" + # wxGTK and wxpython have to be the same x.y.z version + +src_install() { + cd "${S}" + + # change directories, so that the python library is found + sed -i "s#\.:#/usr/lib/${P}:# ; s#ccp.py#/usr/lib/${P}/ccp.py#" \ + ccPublisher.sh + + newbin ccPublisher.sh ccPublisher + + # docs + dodoc README.txt resources/*txt + + # copy python libraries, no not include the script, readme or + # zope libraries. zope libs will be installed if USE="zope" + rm ccPublisher.sh README.txt -f + mv "zope" "${WORKDIR}" + insinto /usr/lib/${P} + doins -r * + + # optimize python by compiling it + python_mod_optimize /usr/lib/${P} + + # copy 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 + # the zope directory is already in $WORKDIR + rm -rf "${S}/*" + mv "${WORKDIR}/zope" "${S}/${MY_PN}" + + zproduct_src_install all + + fi +} + +pkg_postrm() { + python_mod_cleanup /usr/lib/${P} +} + +pkg_postinst() { + elog + elog "ccPublisher is now installed to /usr/bin/ccPublisher" + elog + elog "If you get python errors, check that both wxpython and" + elog "wxGTK are the same version." + 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 new file mode 100644 index 000000000..610c73f07 --- /dev/null +++ b/app-misc/ccpublisher/files/digest-ccPublisher-2.2.1 @@ -0,0 +1,3 @@ +MD5 e0def95735c98bcc9bf7d2aece93b54d ccPublisher-2.2.1.tar.gz 394556 +RMD160 cf20f5817945f0ebf78026a3e4d8a31aa30009df ccPublisher-2.2.1.tar.gz 394556 +SHA256 ff9fb22487bb32831f5e4533a72b34b31f029711dcdaa0395e247e94300b9c46 ccPublisher-2.2.1.tar.gz 394556 diff --git a/app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 b/app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 new file mode 100644 index 000000000..610c73f07 --- /dev/null +++ b/app-misc/ccpublisher/files/digest-ccpublisher-2.2.1 @@ -0,0 +1,3 @@ +MD5 e0def95735c98bcc9bf7d2aece93b54d ccPublisher-2.2.1.tar.gz 394556 +RMD160 cf20f5817945f0ebf78026a3e4d8a31aa30009df ccPublisher-2.2.1.tar.gz 394556 +SHA256 ff9fb22487bb32831f5e4533a72b34b31f029711dcdaa0395e247e94300b9c46 ccPublisher-2.2.1.tar.gz 394556 diff --git a/app-misc/ccpublisher/metadata.xml b/app-misc/ccpublisher/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/app-misc/ccpublisher/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |