From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pyserial/Manifest | 6 +++++ dev-python/pyserial/files/mapping.patch | 13 +++++++++ dev-python/pyserial/metadata.xml | 13 +++++++++ dev-python/pyserial/pyserial-3.2.1.ebuild | 44 +++++++++++++++++++++++++++++++ dev-python/pyserial/pyserial-3.4.ebuild | 44 +++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 dev-python/pyserial/Manifest create mode 100644 dev-python/pyserial/files/mapping.patch create mode 100644 dev-python/pyserial/metadata.xml create mode 100644 dev-python/pyserial/pyserial-3.2.1.ebuild create mode 100644 dev-python/pyserial/pyserial-3.4.ebuild (limited to 'dev-python/pyserial') diff --git a/dev-python/pyserial/Manifest b/dev-python/pyserial/Manifest new file mode 100644 index 000000000000..1fd5ce5432da --- /dev/null +++ b/dev-python/pyserial/Manifest @@ -0,0 +1,6 @@ +AUX mapping.patch 495 BLAKE2B f9a2493c2ed0f522000b2ddc774c931138adda0c7d6f8d53875532fed631936436f5ec8cd572e8fc47bf5d9ada2663efdd315d6102cc5ec873d198a53c75a604 SHA512 2a0a86462291ecd78d06c9b88e8971502a58efa61ad9d47f0df2c94240245a41e7bbf9bfbd93e7761560a16fe15203cf8c5c52eaf3eb24e1499b00dfec3808f8 +DIST pyserial-3.2.1.tar.gz 147338 BLAKE2B 6c377d1527183fc48e1369f206f409d312e4488bdb15ae1d1ed93249073ffc56529a9e6059ef57c8f2ebb867cb6d9c0b7dc3a74eafbf653463a05e603b25d69c SHA512 8d3e580cc7781fc6549ab6e408642f4321eb90aafbe593f5dcf953001730f89ee32ce6592728764027a7944bfe4a0ebe2cfac1fce071777aac7c4f27ac94ab7f +DIST pyserial-3.4.tar.gz 151657 BLAKE2B cf47aba4a6f3bb2fe39d99e72907496faa1c9f37857810fef4d826cca72c361d0e43dbc33d9cf2291a589bf0193d17355d149e6eb61b4f9e28250207708ef09a SHA512 d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f +EBUILD pyserial-3.2.1.ebuild 1144 BLAKE2B c1ee920456d77e28b0be2e4f1adcfefb4cbea7c0963177732c1df3f586df73e28f3146530a7ea435998c293554f62b4e0b7618ad632bda369d0f704592371511 SHA512 2392ef4e6f1aee5ad8af6437ce55630f7417d8b4ef451689cabfa7b32807dba408e144b5f6d79c1fb21a3a1d0b85d9a463ed173fc6cff1013b10095f5c558c58 +EBUILD pyserial-3.4.ebuild 1154 BLAKE2B 90ae23c7cb0bc31f47e2e53210d3e77c1aa4631933863331b8515a66ecf4abef59fbdfcd651872bbf6674758c9f6f0ad0029fbb73afa084738ec277b5b5d4975 SHA512 b0a70078aba35ffa82c1237e2c0cfeab6b980ac9187ce91bb6efd47143af02424f86ab34ecb214e4904a0a9aaeeadb3acf4a051a162916c448b68077cbb90eea +MISC metadata.xml 421 BLAKE2B f3c94b0b72c3df17d9c539e8b76e1f644e0b4ae1bb3d905652b568084e449bf11cab07f27e7775031eee857095671debd28bf1d2eb8c1992c6b980620b32109b SHA512 30c1232aed930c665c2603443cbff9efbb843b1866d6a4d034a517e0669f28f1e6e7562103a8badbd8fb1efd9e69b058870b9c4fcea8fa5e74e7a1ec8ba17fde diff --git a/dev-python/pyserial/files/mapping.patch b/dev-python/pyserial/files/mapping.patch new file mode 100644 index 000000000000..dfcb4731bbbd --- /dev/null +++ b/dev-python/pyserial/files/mapping.patch @@ -0,0 +1,13 @@ +diff -ur pyserial-2.7.orig/documentation/conf.py pyserial-2.7/documentation/conf.py +--- a/documentation/conf.py 2013-10-18 00:29:53.000000000 +0800 ++++ b/documentation/conf.py 2014-03-28 12:41:08.848807687 +0800 +@@ -192,9 +192,3 @@ + + # If false, no module index is generated. + #latex_use_modindex = True +- +-# for external links to standard library +-intersphinx_mapping = { +- #~ 'python': ('http://docs.python.org', None), +- 'py': ('http://docs.python.org', None), +- } diff --git a/dev-python/pyserial/metadata.xml b/dev-python/pyserial/metadata.xml new file mode 100644 index 000000000000..9cabbe4e21b2 --- /dev/null +++ b/dev-python/pyserial/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + pyserial + pyserial + pyserial/pyserial + + diff --git a/dev-python/pyserial/pyserial-3.2.1.ebuild b/dev-python/pyserial/pyserial-3.2.1.ebuild new file mode 100644 index 000000000000..bcab615ab74a --- /dev/null +++ b/dev-python/pyserial/pyserial-3.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python Serial Port extension" +HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.org/project/pyserial/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc examples" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +# Usual avoid d'loading un-needed objects.inv file +PATCHES=( "${FILESDIR}"/mapping.patch ) + +DOCS=( CHANGES.rst README.rst ) + +python_compile_all() { + use doc && emake -C documentation html +} + +python_test() { + ${EPYTHON} test/run_all_tests.py || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( documentation/_build/html/. ) + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/pyserial/pyserial-3.4.ebuild b/dev-python/pyserial/pyserial-3.4.ebuild new file mode 100644 index 000000000000..8d1e734f73a4 --- /dev/null +++ b/dev-python/pyserial/pyserial-3.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python Serial Port extension" +HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.org/project/pyserial/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc examples" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +# Usual avoid d'loading un-needed objects.inv file +PATCHES=( "${FILESDIR}"/mapping.patch ) + +DOCS=( CHANGES.rst README.rst ) + +python_compile_all() { + use doc && emake -C documentation html +} + +python_test() { + ${EPYTHON} test/run_all_tests.py || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( documentation/_build/html/. ) + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} -- cgit v1.2.3