summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2013-06-08 13:31:07 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2013-06-08 13:31:07 +0000
commit25d708cb79a5d6fcaf6b040757c0350bf867e56d (patch)
treef54a102b0291bd4a8f38d9b50609f8cef2089000 /dev-python
parentrevbump, migrate -> distutils-r1, add nose to deps for tests, remove old (diff)
downloadgentoo-2-25d708cb79a5d6fcaf6b040757c0350bf867e56d.tar.gz
gentoo-2-25d708cb79a5d6fcaf6b040757c0350bf867e56d.tar.bz2
gentoo-2-25d708cb79a5d6fcaf6b040757c0350bf867e56d.zip
Version bump, add examples and doc USE flags, convert to EAPI5
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-musicbrainz-ngs/ChangeLog9
-rw-r--r--dev-python/python-musicbrainz-ngs/files/python-musicbrainz-ngs-0.4-fix-package_data-placement.patch20
-rw-r--r--dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild33
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-python/python-musicbrainz-ngs/ChangeLog b/dev-python/python-musicbrainz-ngs/ChangeLog
index 3bccb39f81d2..9a45de03dd6b 100644
--- a/dev-python/python-musicbrainz-ngs/ChangeLog
+++ b/dev-python/python-musicbrainz-ngs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/python-musicbrainz-ngs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz-ngs/ChangeLog,v 1.4 2013/04/06 22:35:02 sochotnicky Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz-ngs/ChangeLog,v 1.5 2013/06/08 13:31:07 sochotnicky Exp $
+
+*python-musicbrainz-ngs-0.4 (08 Jun 2013)
+
+ 08 Jun 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ +python-musicbrainz-ngs-0.4.ebuild,
+ +files/python-musicbrainz-ngs-0.4-fix-package_data-placement.patch:
+ Version bump, add examples and doc USE flags, convert to EAPI5
*python-musicbrainz-ngs-0.3 (06 Apr 2013)
diff --git a/dev-python/python-musicbrainz-ngs/files/python-musicbrainz-ngs-0.4-fix-package_data-placement.patch b/dev-python/python-musicbrainz-ngs/files/python-musicbrainz-ngs-0.4-fix-package_data-placement.patch
new file mode 100644
index 000000000000..8cd904e15eb6
--- /dev/null
+++ b/dev-python/python-musicbrainz-ngs/files/python-musicbrainz-ngs-0.4-fix-package_data-placement.patch
@@ -0,0 +1,20 @@
+diff --git a/setup.py b/setup.py
+index 57479d7..4f82328 100644
+--- a/setup.py
++++ b/setup.py
+@@ -52,15 +52,6 @@ setup(
+ author_email="alastair@porter.net.nz",
+ url="https://github.com/alastair/python-musicbrainz-ngs",
+ packages=['musicbrainzngs'],
+- package_data={'musicbrainzngs': ['CHANGES',
+- '../docs/*',
+- '../examples/*',
+- '../test/data/*.xml',
+- '../test/data/artist/*',
+- '../test/data/label/*',
+- '../test/data/release/*',
+- '../test/data/release-group/*',
+- '../test/data/work/*']},
+ cmdclass={'test': test },
+ license='BSD 2-clause',
+ classifiers=[
diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild
new file mode 100644
index 000000000000..90d5b6a896cc
--- /dev/null
+++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.4.ebuild,v 1.1 2013/06/08 13:31:07 sochotnicky Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="This library implements webservice bindings for the Musicbrainz NGS site"
+HOMEPAGE="https://github.com/alastair/python-musicbrainz-ngs"
+SRC_URI="https://github.com/alastair/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="BSD-2 ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DOCS=(README.md CHANGES)
+use examples && DOCS+=( examples )
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-package_data-placement.patch"
+ )
+
+python_test() {
+ "${PYTHON}" setup.py test || die
+}