diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pycups |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pycups')
-rw-r--r-- | dev-python/pycups/Manifest | 8 | ||||
-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, 186 insertions, 0 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest new file mode 100644 index 000000000000..a4f583743c52 --- /dev/null +++ b/dev-python/pycups/Manifest @@ -0,0 +1,8 @@ +DIST pycups-1.9.72.tar.bz2 52687 SHA256 7f635cb95149e2fab6693ee0261a4491f3f9521549652a9fdcc9654978037ca7 SHA512 db8b06378bf398073e34c89d62aa64cc8e56e93553346484c2e5dd67d046a3aa2f44020b68a7d479203fb2eeba005f8860ad4cebf72f8d7aa9aa15952a36d816 WHIRLPOOL 03b2f6d12e366961745234e9105337d18e543c31b5f80eb77641dbf01e9d1ca60e988a4ad793dccbee39daca725afe32ff9c1a265eec0773a5275add8a47b104 +DIST pycups-1.9.73.tar.bz2 52732 SHA256 c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335 SHA512 ee893d64f1645b71805ac358c4a3cc594f6285f04272ff0558aa60cbc90fafdbac30b623ffcc3a6b739218d9fd7a6a6e1d8cb186a5582f2cc30a518ed4dde810 WHIRLPOOL e19ccc7ab6a2e8f9364b5428eeddf365e9e6d34c2b94ae767543f5f3f81de3f6ac539ea6ba58c13cf34f639e7ba9a0ba04c53c7e030647c63085090ae185b3ca +EBUILD pycups-1.9.72.ebuild 1264 SHA256 ddb1efb0d7b275efa6bbc135b41973568c61599fc36dee861d04b323e8cbf88c SHA512 d3e58b4896c44361a5bc5b9138c68e8ffc7aacf70b98f75e2c4b8423daafe433cfe4a3ba48c68691cffbcffc1497cabcc5243d02a2041dfb4c48c7365956e9a0 WHIRLPOOL b32d3cdae6caf29074d8234e6d5b0185dfcb5617a79af065b377afdd511ecc0074b9c61deaced884b97e735b00534392536a121b90abfa0aee20aa0b916973aa +EBUILD pycups-1.9.73-r1.ebuild 1427 SHA256 89a68661cd5fe84a0256549e4e85c21f14bd0b80d60661d577a79046faa7ad2f SHA512 4d3fd1fc31dbd7572f6b00d764d39bb6357a007f05436dcf4e9829bee3179e5e0779a6bf72d6da9e820ae0f32fab3e1e83fd24115bbfbd44638c138a4674f47e WHIRLPOOL 6bb5360a5782ab41ba7c7dd00be0e95223a0942972b6dc35a967799a7f8cec85cd2dc5b52926bcf31cd07707363e3d00299714503b84d4573c4881bc2eb8474e +EBUILD pycups-1.9.73.ebuild 1336 SHA256 9e7a4964672929eb49677ddfaebea6d01c22e679eb44f78407f7c38db216212c SHA512 7a32df04d155db38401f6dcd8ba6041f8c33c85b7a81da58620def7f18e6b36053bdc79f3400192eac82766cc4aedfb5ed957a8a4ca17b6da97b9c84743cc86a WHIRLPOOL c5943f523351f9ec3bd742d958a841aeb60bc6ede17c9b6306da61290ebc2ee1f6fc12cc0dbcfc78f915dd95222b713517cf461c946e542d7b20cd227deb49ed +MISC ChangeLog 4256 SHA256 cd0afda12ff59440db2ebf8b2e24b0f0f3563cf24f62e4df5c86d6178a2f149c SHA512 bcde1763138fd17fb9d8591f0a39bdfb617f5d4d480358585c7ea91480cceae2da838444250311bcbe1b382e5861c9f36989912159da65d3b1cae72bc9a9ac8c WHIRLPOOL 6166c216bebff8c0092b314e2e01b65890c1c6ff6c946bd89c0b9dced7b1ae7debe9fb267110cb3384c272f935721fe56b69919239645e5809de0a25faa527a9 +MISC ChangeLog-2015 13191 SHA256 567b0837eb10027c03accca79a60b919cbe714258c290a5343f0248dcd90832b SHA512 fb2d85f91dc94ef6278153b3060d4c97deef21235defadd5c88d6f7deed80e5fc9fc9f412179c588f980432b7f430e36c9ebbb924dd10012ee01e3a665a35c33 WHIRLPOOL fa51dc640e1dba007801a9ad2c4eced02c74c0463dd6498c83c6d0df748837cf0d6b993d16a8c6665a63688bd060df5dc5f4264b8de77182e733b3152465b439 +MISC metadata.xml 456 SHA256 703fc381cdcc1a69a01af3b281cce965f63354ecaf8b789442f684568d3c753f SHA512 c8318d150b07e8a369037201bcb9a99a7bc8c406a2a2889f4a1af62166313d4db740e8546f78f0de1e80cddf774f8818e49a4d3e99e906456ffc2f46a562e7ea WHIRLPOOL 338f799bbde7d6be92d54908b4b8131928ac9dfa88d876f26cc795a8dd5232fe9314d4918e6a648214a3cd5ead26c93e97b4502aeeb34e2d75d3ad216ac878f0 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..6822b5b92eee --- /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 +} |