]> Pileus Git - ~andy/sunrise/commitdiff
app-misc/ccPublisher: Ebuild for bug 157494
authorMikael Lammentausta <mikael.lammentausta@gmail.com>
Tue, 19 Dec 2006 13:26:50 +0000 (13:26 +0000)
committerMikael Lammentausta <mikael.lammentausta@gmail.com>
Tue, 19 Dec 2006 13:26:50 +0000 (13:26 +0000)
svn path=/sunrise/; revision=2342

app-misc/ccPublisher/ChangeLog [new file with mode: 0644]
app-misc/ccPublisher/Manifest [new file with mode: 0644]
app-misc/ccPublisher/ccPublisher-2.2.1.ebuild [new file with mode: 0644]
app-misc/ccPublisher/files/digest-ccPublisher-2.2.1 [new file with mode: 0644]
app-misc/ccPublisher/metadata.xml [new file with mode: 0644]

diff --git a/app-misc/ccPublisher/ChangeLog b/app-misc/ccPublisher/ChangeLog
new file mode 100644 (file)
index 0000000..218edf4
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for app-misc/ccPublisher
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  19 Dec 2006; Mikael Lammentausta (lamikae) <lamikae@developer.berlios.de>
+  +ccPublisher-2.2.1.ebuild, +metadata.xml:
+  Ebuild for bug 157494
+
diff --git a/app-misc/ccPublisher/Manifest b/app-misc/ccPublisher/Manifest
new file mode 100644 (file)
index 0000000..c7fc3e6
--- /dev/null
@@ -0,0 +1,16 @@
+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
+MISC ChangeLog 266 RMD160 f7944a38dd6a7286b515a6e3ca0882df6435a6ce SHA1 3a0f5e8a85d87a8524939b777c8c74250b1a7d71 SHA256 cad985454aa8ea205ce86bde6b342075cb09f9881fcd0c3c8403c942f6c3826b
+MD5 55ae4a0d1af4fa02a68c53158beac61d ChangeLog 266
+RMD160 f7944a38dd6a7286b515a6e3ca0882df6435a6ce ChangeLog 266
+SHA256 cad985454aa8ea205ce86bde6b342075cb09f9881fcd0c3c8403c942f6c3826b ChangeLog 266
+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 (file)
index 0000000..64885f8
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 2006-2006 Mikael Lammentausta
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils zproduct
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+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
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+       cd ${S}
+
+       # 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
+
+       dobin ccPublisher
+
+       # docs
+       dodoc README.txt
+       dodoc resources/*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}
+
+       # 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
+}
+
+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 (file)
index 0000000..610c73f
--- /dev/null
@@ -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 (file)
index 0000000..7e32869
--- /dev/null
@@ -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>