From e2f1cced97ea29e9923d5685e96ca64da0e44616 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Mon, 22 Oct 2007 03:46:16 -0700 Subject: Add hacked-together pyvnc2swf and dep pymedia. I threw these ebuilds together in about 5 minutes, while trying to convert a Flash SWF to some more usable format for nonlinear editing. Not yet suitable for the main tree. --- dev-python/pymedia/Manifest | 12 +++++++++ dev-python/pymedia/files/digest-pymedia-1.3.7.3 | 3 +++ dev-python/pymedia/files/setup.py.patch | 14 +++++++++++ dev-python/pymedia/pymedia-1.3.7.3.ebuild | 21 ++++++++++++++++ dev-python/pyvnc2swf/Manifest | 8 ++++++ dev-python/pyvnc2swf/files/digest-pyvnc2swf-0.9.3 | 3 +++ dev-python/pyvnc2swf/pyvnc2swf-0.9.3.ebuild | 30 +++++++++++++++++++++++ 7 files changed, 91 insertions(+) create mode 100644 dev-python/pymedia/Manifest create mode 100644 dev-python/pymedia/files/digest-pymedia-1.3.7.3 create mode 100644 dev-python/pymedia/files/setup.py.patch create mode 100644 dev-python/pymedia/pymedia-1.3.7.3.ebuild create mode 100644 dev-python/pyvnc2swf/Manifest create mode 100644 dev-python/pyvnc2swf/files/digest-pyvnc2swf-0.9.3 create mode 100644 dev-python/pyvnc2swf/pyvnc2swf-0.9.3.ebuild (limited to 'dev-python') diff --git a/dev-python/pymedia/Manifest b/dev-python/pymedia/Manifest new file mode 100644 index 0000000..54c0dea --- /dev/null +++ b/dev-python/pymedia/Manifest @@ -0,0 +1,12 @@ +AUX setup.py.patch 549 RMD160 afa6aa06bb7f873301050e6475d3b433da0b03d9 SHA1 985575f37a7d4021d5ee70ea99bfb74a4bd967a3 SHA256 f60ba42ebef87cec765d460ed196f7868b486d9c9b63e86b92ba80d45dfbb85f +MD5 41c30e65f940dac1dcd0d1ce092c4812 files/setup.py.patch 549 +RMD160 afa6aa06bb7f873301050e6475d3b433da0b03d9 files/setup.py.patch 549 +SHA256 f60ba42ebef87cec765d460ed196f7868b486d9c9b63e86b92ba80d45dfbb85f files/setup.py.patch 549 +DIST pymedia-1.3.7.3.tar.gz 856912 RMD160 7c81609d55242e951b10fc77f82679400d5057d7 SHA1 dae25ead8927f3c86a13a2dbf66ae8218d4c3c22 SHA256 95cb1fbad2f59d8dca486932ed41511189d7786cd551bbc654f2d87c28b029b0 +EBUILD pymedia-1.3.7.3.ebuild 441 RMD160 83ec7cd7ec9a3492949dbcff0b393ecef5b676d5 SHA1 d4bf03782a0b68fe1a4a8a9eef0a6d9bf31287ff SHA256 2f5ce11eaccbc1c700e3ce109ccb985e6e56b39a3dbd6d2b458c5d80a7092ba8 +MD5 9d049c8f6e8f8ec62def68a9dc1536fe pymedia-1.3.7.3.ebuild 441 +RMD160 83ec7cd7ec9a3492949dbcff0b393ecef5b676d5 pymedia-1.3.7.3.ebuild 441 +SHA256 2f5ce11eaccbc1c700e3ce109ccb985e6e56b39a3dbd6d2b458c5d80a7092ba8 pymedia-1.3.7.3.ebuild 441 +MD5 e96460e19140e6b2a8e7898680686ecc files/digest-pymedia-1.3.7.3 247 +RMD160 bb13913320e3516aa947bfa3567ba8f5dafc98a1 files/digest-pymedia-1.3.7.3 247 +SHA256 442bc1c8f2f5336c71de0280542995c38e8bdaed798b8bd9acd250dfd993e40a files/digest-pymedia-1.3.7.3 247 diff --git a/dev-python/pymedia/files/digest-pymedia-1.3.7.3 b/dev-python/pymedia/files/digest-pymedia-1.3.7.3 new file mode 100644 index 0000000..7d21c15 --- /dev/null +++ b/dev-python/pymedia/files/digest-pymedia-1.3.7.3 @@ -0,0 +1,3 @@ +MD5 2f4930c63866c97af5090b176e2a118a pymedia-1.3.7.3.tar.gz 856912 +RMD160 7c81609d55242e951b10fc77f82679400d5057d7 pymedia-1.3.7.3.tar.gz 856912 +SHA256 95cb1fbad2f59d8dca486932ed41511189d7786cd551bbc654f2d87c28b029b0 pymedia-1.3.7.3.tar.gz 856912 diff --git a/dev-python/pymedia/files/setup.py.patch b/dev-python/pymedia/files/setup.py.patch new file mode 100644 index 0000000..ed76bc9 --- /dev/null +++ b/dev-python/pymedia/files/setup.py.patch @@ -0,0 +1,14 @@ +--- setup.py.orig 2007-10-11 03:16:23.000000000 -0700 ++++ setup.py 2007-10-11 03:16:35.000000000 -0700 +@@ -260,11 +260,6 @@ + DEFINES+= [ ( x.define, None ) for x in DEPS ]+ [ ( 'HAVE_AV_CONFIG_H', None ), ( 'UDF_CACHE', 1 ) ] + LIBS+= [ x.lib for x in DEPS ] + +-choice = raw_input('Continue building '+MODULE_NAME+' ? [Y,n]:') +-if choice== 'n': +- print 'To start installation please run: \n\tsetup.py install and press Enter when prompted\n' +- sys.exit() +- + METADATA = { + "name": "pymedia", + "version": VERSION, diff --git a/dev-python/pymedia/pymedia-1.3.7.3.ebuild b/dev-python/pymedia/pymedia-1.3.7.3.ebuild new file mode 100644 index 0000000..c0747dc --- /dev/null +++ b/dev-python/pymedia/pymedia-1.3.7.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils eutils + +DESCRIPTION="This is a sample skeleton ebuild file" +HOMEPAGE="http://foo.bar.com/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND}" + +src_unpack() { + distutils_src_unpack + cd "${S}" + epatch "${FILESDIR}"/setup.py.patch +} diff --git a/dev-python/pyvnc2swf/Manifest b/dev-python/pyvnc2swf/Manifest new file mode 100644 index 0000000..7814ffa --- /dev/null +++ b/dev-python/pyvnc2swf/Manifest @@ -0,0 +1,8 @@ +DIST pyvnc2swf-0.9.3.tar.gz 66515 RMD160 7326e9d3226edc9cefc9e019aa44f3c6b2ea206e SHA1 1a89d3815436e52e9e687a94b0bc124db4c3966d SHA256 7151f556b535c4496509a5fd0c3d34cc8e98b6bb1c2d47507863d3739679d7d8 +EBUILD pyvnc2swf-0.9.3.ebuild 591 RMD160 f0ccff37fa4e00e2e461c72740008a88d91209fc SHA1 00ec07adea8c91f1b26c8e37f2c8f4e592663b80 SHA256 45740239de82b955dcf08e3751c238ca02d8dbbafc86c0eccece6d5f2beadd1e +MD5 ac0bb0cad9bffb74b3ba38b36be7a4f3 pyvnc2swf-0.9.3.ebuild 591 +RMD160 f0ccff37fa4e00e2e461c72740008a88d91209fc pyvnc2swf-0.9.3.ebuild 591 +SHA256 45740239de82b955dcf08e3751c238ca02d8dbbafc86c0eccece6d5f2beadd1e pyvnc2swf-0.9.3.ebuild 591 +MD5 eb743dd20d9add8653bb85fac391a86f files/digest-pyvnc2swf-0.9.3 244 +RMD160 77714d527b348c3b537db591be3e9e021718df89 files/digest-pyvnc2swf-0.9.3 244 +SHA256 bc848221e676a5023c408bf078a67030a920673bcec36711d8e3196302f5776d files/digest-pyvnc2swf-0.9.3 244 diff --git a/dev-python/pyvnc2swf/files/digest-pyvnc2swf-0.9.3 b/dev-python/pyvnc2swf/files/digest-pyvnc2swf-0.9.3 new file mode 100644 index 0000000..882b345 --- /dev/null +++ b/dev-python/pyvnc2swf/files/digest-pyvnc2swf-0.9.3 @@ -0,0 +1,3 @@ +MD5 e871d134420867438cadd1f6320072f0 pyvnc2swf-0.9.3.tar.gz 66515 +RMD160 7326e9d3226edc9cefc9e019aa44f3c6b2ea206e pyvnc2swf-0.9.3.tar.gz 66515 +SHA256 7151f556b535c4496509a5fd0c3d34cc8e98b6bb1c2d47507863d3739679d7d8 pyvnc2swf-0.9.3.tar.gz 66515 diff --git a/dev-python/pyvnc2swf/pyvnc2swf-0.9.3.ebuild b/dev-python/pyvnc2swf/pyvnc2swf-0.9.3.ebuild new file mode 100644 index 0000000..096eccb --- /dev/null +++ b/dev-python/pyvnc2swf/pyvnc2swf-0.9.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit python + +DESCRIPTION="This is a sample skeleton ebuild file" +HOMEPAGE="http://foo.bar.com/" +SRC_URI="http://www.unixuser.org/~euske/vnc2swf/${P}.tar.gz" +LICENSE="" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND} + dev-python/pymedia" + +src_compile() { + : +} + +src_install() { + python_version + local dir="/usr/$(get_libdir)/python${PYVER}/site-packages" + dodir ${dir} + mv ${PN} "${D}"${dir}/ || die + dohtml docs/* + dodoc README.txt + dobin bin/* || die +} -- cgit v1.2.3-65-gdbad