diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/tagpy | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/tagpy')
-rw-r--r-- | dev-python/tagpy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tagpy/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/tagpy/tagpy-2013.1.ebuild | 40 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/tagpy/Manifest b/dev-python/tagpy/Manifest new file mode 100644 index 000000000000..51e14febf0e6 --- /dev/null +++ b/dev-python/tagpy/Manifest @@ -0,0 +1,3 @@ +DIST tagpy-2013.1.tar.gz 151463 BLAKE2B 07d35dcff3ca01061c3df03ceb36d7e3fab6b993d3b85ccd44baad19a7c4232d348f470af7a7ee0ab72cf0fcdfd2cfcfa6086306cb3ab4491eebfcf662b37dbc SHA512 4068b33fcbee2d5037149fda3ad0b256a31187ee35146392d0e187acb1d8e57c249da5356cb396cb9f027ed47ff44016466a1faaea0912494535c631f8271d58 +EBUILD tagpy-2013.1.ebuild 912 BLAKE2B ebf6f9e90b6f340a657b7a4d5043d1db559a42b1f1c392425383787fa3fad91f7c6f0923b1e3aa11873c016f93a79931461fc888c994a4bdd62e623ea37214a8 SHA512 5c9594faa49e3f6202cefe3abd2c9c38f0897edb9822fe8333b395a66924f56371bb0f7891784e3ad398bef1f62bac9f5b806f32ee38824f5ed941a625d709d9 +MISC metadata.xml 547 BLAKE2B c5c61e36e108060392467ad7bde0c8869b6df0f55367e528e9165d216f4c9674af13ec580c1b2fe6c231843cddd40b621f816c71e1d718126583085780649d66 SHA512 caf162b52bba166e74c1c1c9a6f157ee44d4b7f829c089dee93b6c84a99c847384ff7cd4f03ce191574e58562fdabe29eb4b00281551227f5d274adc3e7ba2d2 diff --git a/dev-python/tagpy/metadata.xml b/dev-python/tagpy/metadata.xml new file mode 100644 index 000000000000..994d08b6d425 --- /dev/null +++ b/dev-python/tagpy/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en">TagPy is a Python crust (or a set of Python bindings) for Scott + Wheeler's TagLib. It builds upon Boost.Python, a wrapper generation + library which is part of the Boost set of C++ libraries.</longdescription> + <upstream> + <remote-id type="pypi">tagpy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tagpy/tagpy-2013.1.ebuild b/dev-python/tagpy/tagpy-2013.1.ebuild new file mode 100644 index 000000000000..22218f877df2 --- /dev/null +++ b/dev-python/tagpy/tagpy-2013.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python Bindings for TagLib" +HOMEPAGE="https://mathema.tician.de//software/tagpy + https://pypi.org/project/tagpy/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 ~sparc x86" +IUSE="examples" + +RDEPEND=">=dev-libs/boost-1.49.0:=[python,threads,${PYTHON_USEDEP}] + >=media-libs/taglib-1.7.2" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_configure() { + "${PYTHON}" configure.py \ + --taglib-inc-dir="${EPREFIX}/usr/include/taglib" \ + --boost-python-libname="boost_python-${EPYTHON#python}" +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r test/* + fi + + distutils-r1_python_install_all +} |