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/pycups | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pycups')
-rw-r--r-- | dev-python/pycups/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pycups/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.72.ebuild | 50 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.73-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.73.ebuild | 54 |
5 files changed, 184 insertions, 0 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest new file mode 100644 index 000000000000..abcec6065a27 --- /dev/null +++ b/dev-python/pycups/Manifest @@ -0,0 +1,6 @@ +DIST pycups-1.9.72.tar.bz2 52687 BLAKE2B 37d2bf2afc71b4feabbd5aac0c4dab49142a580b0b82d337709ef79a666ea2ad7942072f4f09923099626103a67f6b9a08a7972481ea28f7a88e13118e194d4d SHA512 db8b06378bf398073e34c89d62aa64cc8e56e93553346484c2e5dd67d046a3aa2f44020b68a7d479203fb2eeba005f8860ad4cebf72f8d7aa9aa15952a36d816 +DIST pycups-1.9.73.tar.bz2 52732 BLAKE2B a6c9750970548ba85cdef4041f716491e9b0cf4273cb5381bca8e57deab457affaa62eccf74d36eb3f8b047e5142c952e56e7e624f85ed7959a769f568824f26 SHA512 ee893d64f1645b71805ac358c4a3cc594f6285f04272ff0558aa60cbc90fafdbac30b623ffcc3a6b739218d9fd7a6a6e1d8cb186a5582f2cc30a518ed4dde810 +EBUILD pycups-1.9.72.ebuild 1264 BLAKE2B 68ac947a52b8cbca7efb111469b44572445ffd5941bc236c634d67efc8308396cedf0f6b294c76a9ff6f1714642478fc2e0e8fdf6c736a15d9ffa6494be91215 SHA512 d3e58b4896c44361a5bc5b9138c68e8ffc7aacf70b98f75e2c4b8423daafe433cfe4a3ba48c68691cffbcffc1497cabcc5243d02a2041dfb4c48c7365956e9a0 +EBUILD pycups-1.9.73-r1.ebuild 1426 BLAKE2B 0b1374dae5348ecad4e6df71e2b09d28ce4da1a8225e5e728c4f9b08a0151238b518592cc961ba73076c3c4029398b0a5959d9e91e1a29c468ddbc06c9599410 SHA512 b65b4ce8a110d1f803f7413c95b9aadb07d5081c765c1dacc84d314c10730220cb01de3beffbc53aedf30f7cef44b44377f2a5b15d3152960a8bf09496a5d73c +EBUILD pycups-1.9.73.ebuild 1336 BLAKE2B 76079e9ec2f11d4525ae709b40a92514bf932f0ab209041b282be9573effcd173c51a6dd3ac1bcbb8c046b3cb19684bbc7773f4f82a88ef83ee46b963ed1195b SHA512 7a32df04d155db38401f6dcd8ba6041f8c33c85b7a81da58620def7f18e6b36053bdc79f3400192eac82766cc4aedfb5ed957a8a4ca17b6da97b9c84743cc86a +MISC metadata.xml 456 BLAKE2B ea7d7af9ed2baa3cb5270b3da9c5e1c6dc64d1391e0b280ddd1a6e3e8f3317808eb3906e1c9551615ac2218b89685b9ccbfb4d4656e80eeb54cf2d8dec2149c7 SHA512 c8318d150b07e8a369037201bcb9a99a7bc8c406a2a2889f4a1af62166313d4db740e8546f78f0de1e80cddf774f8818e49a4d3e99e906456ffc2f46a562e7ea diff --git a/dev-python/pycups/metadata.xml b/dev-python/pycups/metadata.xml new file mode 100644 index 000000000000..5080ddafb1fd --- /dev/null +++ b/dev-python/pycups/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>reavertm@gentoo.org</email> + <name>Maciej Mrozowski</name> + </maintainer> + <maintainer type="project"> + <email>printing@gentoo.org</email> + <name>Gentoo Printing Project</name> + </maintainer> + <upstream> + <remote-id type="pypi">pycups</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pycups/pycups-1.9.72.ebuild b/dev-python/pycups/pycups-1.9.72.ebuild new file mode 100644 index 000000000000..041967b4d1b4 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.72.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} pypy ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="http://cyberelk.net/tim/data/pycups/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86" +SLOT="0" +IUSE="doc examples" + +RDEPEND=" + net-print/cups +" +DEPEND="${RDEPEND}" + +# epydoc kinda sucks and supports python2 only (it's dead too), +# and since we're dealing with a binary module we need exact version +# match. therefore, docbuilding *requires* any python2 being enabled. + +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) +" + +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + +python_compile_all() { + if use doc; then + # we can't use Makefile since it relies on hardcoded paths + epydoc -o html --html cups || die "doc build failed" + fi +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_install_all() { + use doc && local HTML_DOCS=( html/ ) + use examples && local EXAMPLES=( examples/ ) + + distutils-r1_python_install_all +} diff --git a/dev-python/pycups/pycups-1.9.73-r1.ebuild b/dev-python/pycups/pycups-1.9.73-r1.ebuild new file mode 100644 index 000000000000..fa90b1628f32 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.73-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 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} pypy ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="http://cyberelk.net/tim/data/pycups/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86" +SLOT="0" +IUSE="doc examples" + +RDEPEND=" + net-print/cups +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${RDEPEND} +" + +# epydoc kinda sucks and supports python2 only (it's dead too), +# and since we're dealing with a binary module we need exact version +# match. therefore, docbuilding *requires* any python2 being enabled. + +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) +" + +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_compile_all() { + if use doc; then + # we can't use Makefile since it relies on hardcoded paths + epydoc -o html --html cups || die "doc build failed" + HTML_DOCS=( html/. ) + fi +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pycups/pycups-1.9.73.ebuild b/dev-python/pycups/pycups-1.9.73.ebuild new file mode 100644 index 000000000000..e3c05c2c09e1 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.73.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} pypy ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="http://cyberelk.net/tim/data/pycups/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86" +SLOT="0" +IUSE="doc examples" + +RDEPEND=" + net-print/cups +" +DEPEND="${RDEPEND}" + +# epydoc kinda sucks and supports python2 only (it's dead too), +# and since we're dealing with a binary module we need exact version +# match. therefore, docbuilding *requires* any python2 being enabled. + +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) +" + +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) +} + +python_compile_all() { + if use doc; then + # we can't use Makefile since it relies on hardcoded paths + epydoc -o html --html cups || die "doc build failed" + fi +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_install_all() { + use doc && local HTML_DOCS=( html/ ) + use examples && local EXAMPLES=( examples/ ) + + distutils-r1_python_install_all +} |