summaryrefslogtreecommitdiff
path: root/dev-python/imdbpy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/imdbpy')
-rw-r--r--dev-python/imdbpy/Manifest6
-rw-r--r--dev-python/imdbpy/files/imdbpy-4.6-data_location.patch11
-rw-r--r--dev-python/imdbpy/imdbpy-5.0.ebuild41
-rw-r--r--dev-python/imdbpy/metadata.xml9
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/imdbpy/Manifest b/dev-python/imdbpy/Manifest
new file mode 100644
index 000000000000..85301a97ee3e
--- /dev/null
+++ b/dev-python/imdbpy/Manifest
@@ -0,0 +1,6 @@
+AUX imdbpy-4.6-data_location.patch 386 SHA256 22c59416cc2481aab25ab924b6ad2467ec9556a3206c0dce6d2af2899acedb56 SHA512 b6846126cf3eab62f454b1d8073d068a356ee792895939c9a4ee67eacd46616d0173bc85e52f6930f3ee8d96b95913afcc07b5b384a205559bce105e37038567 WHIRLPOOL 06fdd41f098ba290df40860f65582e5c4f59de724951bf634d5d4cb8fc9dfff4b90dbbc68c886bafcc82b4c08de0c22d2b55df66c3778c2fc517d86b61ce42bf
+DIST IMDbPY-5.0.tar.gz 367238 SHA256 3224a8896847cddb8d049a587852c66f0f33f36c89311ae9a89ff87ed51fc243 SHA512 924b9c9b7055c75abb1c48867ba9ccef3c5259c748a6f21e8344616da9ea58d5ae58a2f12a78dc61fea7c008956994687fdcf7ecd59f5f4e82daea62890086d4 WHIRLPOOL 5cae4a26734c10c3c21bc2f1be4fa5efca8e82a2cf78249c359f7e3c8bb8e12f1fefc535796f98d5b23b6c3174e11ac40f8e56749c93c859c7f63e052af6402f
+EBUILD imdbpy-5.0.ebuild 894 SHA256 fad5edf081cfafc41bf18a7f38cfe9ba4331b098ac73700df6b2c1311efb5d8f SHA512 c1fa3ff89047dda065ffb771924282e266e586f2ffa65b783d8931116d0356e036f6284a29e2b0d23b78a2e0e6532fa8260835df5da5520b1d330cedee9fb361 WHIRLPOOL 6ca4bdaba7985a31ef119b97a2b3049bdbe85e3eeba78fec6c6178421b3a281b9314e83657c957059f8448085c9d7e324bf23039650b0ac852f8a537a49ee521
+MISC ChangeLog 3225 SHA256 1226368f26928f4872cab46a9e2bd3b7181b8b80a06626e716129b80fca3e92d SHA512 36126debbc52e91f704beb5870b7567251e27886d592b50c2c01cb4c5a45b14ba582975d33af52980d98477551ee27b05cf4a4506824e323f0a97999e5204405 WHIRLPOOL 52b23decd4c3993d95603b1ebe9a956affa2906e7aaca27157afd84f6a08cc8bc80b409ab64dec13a97a726b1acaea9d630b604b40ccff6f76f925edcd41bacb
+MISC ChangeLog-2015 3653 SHA256 f57b36bd6f0ba1097d4873cd84febff3c8f7670fd46a80c3fec37d288c37012d SHA512 f0e53a6062a6ddaec2cded42afd4e7bffcd214c67eea9610e56b2b20bb740d5bab9149230837a1690c76598c1c7e9dae5d0051f0ac73745fdf4702cd859d100a WHIRLPOOL 99002cd43762af42d5a51932b09c688b66326c72bdc1e228166b6f5d10456c6663a08f35c3c699552aeaeead3f1e3984f190a75d6b4f38d0a73e151e374c0f01
+MISC metadata.xml 287 SHA256 d0e51c37511b11b7257ac73d3410f6abdd910228f4f79db14d77e03cdd68767c SHA512 73efa1a442676f1fea6bfa663d9615e9e55d2520d8a30749ceea26fbadf3df55358320ddb5ced57841b5d4eec5dc6948b3c85d2537d8fbed3cc1d4392f970767 WHIRLPOOL 3ef3e35ba26ced552102ff613fe4be620d74ef1bd06833a7692f2fb20ea00306c951262f161fe2ba2250d602c1c300c8b1a7c06a65757a2310a27861149659a6
diff --git a/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch b/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch
new file mode 100644
index 000000000000..90dc467170eb
--- /dev/null
+++ b/dev-python/imdbpy/files/imdbpy-4.6-data_location.patch
@@ -0,0 +1,11 @@
+--- setup.py
++++ setup.py
+@@ -70,7 +70,7 @@
+
+ # XXX: I'm not sure that 'etc' is a good idea. Making it an absolute
+ # path seems a recipe for a disaster (with bdist_egg, at least).
+-data_files = [('doc', setuptools.findall('docs')), ('etc', ['docs/imdbpy.cfg'])]
++data_files = [('/etc', ['docs/imdbpy.cfg'])]
+
+
+ # Defining these 'features', it's possible to run commands like:
diff --git a/dev-python/imdbpy/imdbpy-5.0.ebuild b/dev-python/imdbpy/imdbpy-5.0.ebuild
new file mode 100644
index 000000000000..1c075afaf2d0
--- /dev/null
+++ b/dev-python/imdbpy/imdbpy-5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+MY_PN="IMDbPY"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python package to access the IMDb movie database"
+HOMEPAGE="http://imdbpy.sourceforge.net/ https://pypi.python.org/pypi/IMDbPY"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DOCS=( docs/FAQS.txt docs/imdbpy48.dtd docs/imdbpy.cfg )
+
+PATCHES=( "${FILESDIR}/${PN}-4.6-data_location.patch" )
+
+src_configure() {
+ distutils-r1_src_configure --without-cutils
+}
+
+python_install_all() {
+ local doc
+ for doc in docs/README*
+ do
+ DOCS=( "${DOCS[@]}" $doc )
+ done
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/imdbpy/metadata.xml b/dev-python/imdbpy/metadata.xml
new file mode 100644
index 000000000000..9a2bea3d2d20
--- /dev/null
+++ b/dev-python/imdbpy/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="pypi">IMDbPY</remote-id>
+ <remote-id type="sourceforge">imdbpy</remote-id>
+ </upstream>
+</pkgmetadata>