+++ /dev/null
-# ChangeLog for app-misc/ccpublisher
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 22 Aug 2008; Thomas Beierlein (TomJBE) <tb@forth-ev.de> metadata.xml:
- Added USE flag description wrt GLEP 56
-
- 13 Jan 2008; Jakub Moc <jakub@gentoo.org> ccpublisher-2.2.1.ebuild:
- Fix wx* and python handling
-
- 09 Jun 2007; Ali Polatel (hawking) <polatel@gmail.com>
- ccpublisher-2.2.1.ebuild:
- removed unused inherit eutils
-
- 07 Jan 2007; Jakub Moc <jakub@gentoo.org> ccpublisher-2.2.1.ebuild:
- Make this multilib friendly
-
- 20 Dec 2006; Mikael Lammentausta (lamikae) <lamikae@developer.berlios.de>
- +ccpublisher-2.2.1.ebuild, +metadata.xml:
- re-commit, ebuild for bug 157494
-
+++ /dev/null
-DIST ccPublisher-2.2.1.tar.gz 394556 RMD160 cf20f5817945f0ebf78026a3e4d8a31aa30009df SHA1 ace556d3169a014fe28ee8f44ade5492bb01a9f6 SHA256 ff9fb22487bb32831f5e4533a72b34b31f029711dcdaa0395e247e94300b9c46
-EBUILD ccpublisher-2.2.1.ebuild 2025 RMD160 3c8ec754edbfb06bdbc271a8cfa41409815d5b5b SHA1 e02199be5b6bd0d22464a9f5d22c49a1b1f3bbdc SHA256 4446cd7f503c798fa73c7a40e8f2f419e81d299638afe4689733f4b526420ccb
-MISC ChangeLog 711 RMD160 28e3356f7fd1f1f4337782e2feecd8c63a4545e3 SHA1 358bf33de0c3a169b0636c71671b406eb9ef3573 SHA256 ed2d88c00d72d6cc2072b50744830dd9107f89959862019dc0f407ebf9bb7259
-MISC metadata.xml 270 RMD160 100b0171ae6f24a25d58bf70949b2baae40fa5e2 SHA1 f7b758f6c029858c52982b00ff702209fbe40b90 SHA256 e17877b8ba7b563ebdf6a1549a499f9aa33913cd839eda7ac85d95b4c5a4dc93
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="1"
-WX_GTK_VER="2.6"
-inherit zproduct python multilib wxwidgets
-
-MY_PN="ccPublisher"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Tool to tag and upload CC-licensed media files"
-HOMEPAGE="http://wiki.creativecommons.org/CcPublisher"
-SRC_URI="mirror://berlios/cctools/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="zope"
-
-ZPROD_LIST="${MY_PN}"
-S="${WORKDIR}/${MY_P}"
-
-DEPEND=""
-RDEPEND=">=dev-python/wxpython-2.6.3.2:2.6
- >=x11-libs/wxGTK-2.6.3.3:2.6
- zope? ( net-zope/zope )
- || ( ( dev-python/elementtree >=dev-lang/python-2.4 ) >=dev-lang/python-2.5 )"
-
-src_install() {
- # change directories, so that the python library is found
- sed -i "s#\.:#/usr/$(get_libdir)/${P}:# ; s#ccp.py#/usr/$(get_libdir)/${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/$(get_libdir)/${P}
- doins -r *
-
- # optimize python by compiling it
- python_mod_optimize /usr/$(get_libdir)/${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/$(get_libdir)/${P}
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize "${ROOT}"usr/$(get_libdir)/${P}
-
- 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
-}