summaryrefslogtreecommitdiff
path: root/dev-python/pyserial
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyserial
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyserial')
-rw-r--r--dev-python/pyserial/Manifest10
-rw-r--r--dev-python/pyserial/files/mapping.patch13
-rw-r--r--dev-python/pyserial/metadata.xml13
-rw-r--r--dev-python/pyserial/pyserial-2.7-r1.ebuild34
-rw-r--r--dev-python/pyserial/pyserial-3.2.1.ebuild44
-rw-r--r--dev-python/pyserial/pyserial-3.3.ebuild44
6 files changed, 158 insertions, 0 deletions
diff --git a/dev-python/pyserial/Manifest b/dev-python/pyserial/Manifest
new file mode 100644
index 000000000000..fc4f65c0ae45
--- /dev/null
+++ b/dev-python/pyserial/Manifest
@@ -0,0 +1,10 @@
+AUX mapping.patch 495 SHA256 7d40dcc74fe3359024effd28447380a08f52b4b9cd7e6c96b5ee1797d7714d86 SHA512 2a0a86462291ecd78d06c9b88e8971502a58efa61ad9d47f0df2c94240245a41e7bbf9bfbd93e7761560a16fe15203cf8c5c52eaf3eb24e1499b00dfec3808f8 WHIRLPOOL 39f4024ee0fee9041e45fd2b66d29fac40f0ad2bfd2875a0db0453283386603f68a621c80b38b479c332a1d1d64499e1df93a4feef5165fd7cf29967a151a336
+DIST pyserial-2.7.tar.gz 122081 SHA256 3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 SHA512 3fc8d9425a47ebcd37db1fcc58182854b48c9abd6642f35fba2d21458d864ae448105d704dc0d880832ba7516fa16f108f24363bd5fa9f083ea79a4ac614339b WHIRLPOOL ae6b4df86220617f7fbc1f1e4085a7e85dca645a6d84339163b40fc7a15f14b879ef7a729d3d23d0300f9ee04b21d6c24d13a791d520aef3f3ad141c6acd9b68
+DIST pyserial-3.2.1.tar.gz 147338 SHA256 1eecfe4022240f2eab5af8d414f0504e072ee68377ba63d3b6fe6e66c26f66d1 SHA512 8d3e580cc7781fc6549ab6e408642f4321eb90aafbe593f5dcf953001730f89ee32ce6592728764027a7944bfe4a0ebe2cfac1fce071777aac7c4f27ac94ab7f WHIRLPOOL 529c4eb12adf88579d528d3bd9dfec6fd7b43890217392677b7c8428f7ca7b3fe5dded863c4690c9eaa5ea37a2cdb56744e328a47a4b89d5440becceb983ecb8
+DIST pyserial-3.3.tar.gz 149032 SHA256 2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2 SHA512 57a0bcd0684530e1d60022804dd75acd5d9a9a358c92d967076884b2419bcfefae71e949f7aba1737023f6b089c993e98dd7cf6860e9402ed7e0b698953b3ac8 WHIRLPOOL 41174cb26532f563950aa1510d5fe2ab60def9141744ffad5d063f2a0e9cd7e0fdaf68db6c72ec47b2eb8fd37aa064286c27a90288ae1482e1f336574e9a1b1a
+EBUILD pyserial-2.7-r1.ebuild 965 SHA256 5d2bf157dfa08338ea2c315e6a522bb70768a38b169f67bc2d5ef73d328342d7 SHA512 2d3d3e532f9b0f8b03489e474077e9fb41e6c363dbb734d174cdab01df61eabfbfae2f9ac3014b6354f59d75be855cd14710f293a8362569fe57f78808450a32 WHIRLPOOL 4be8858ff79330ae5315f1eb7fe3917715b57b873f829e0389b33a282cf060c4883a3294c7161fb07dea10b3fce0fa8fee750e39884c5a5a03aa08c4d7b27cbf
+EBUILD pyserial-3.2.1.ebuild 1148 SHA256 bab83ce6467c24397c0cc3b93ba7fe50e8de0575100bb4ef64f8c90269b15a69 SHA512 b4d57606a5318c733da926ccfeb2b82e8d779b75316cd56ab8a24e577953d05dd501c8e7b86cb320949e60120577940958c3adb5ac8be760e193c91200faa686 WHIRLPOOL f30c4beaa2f3241d7d962130b79fdb362fb3a52eb1962ea6d8da2aebb820ded01be7cd520b527f2039c61dd035adcfc6b05c2fc4fb403442630689f6b32b0898
+EBUILD pyserial-3.3.ebuild 1157 SHA256 67564ea299b852b2a010f8949cf757de65f49cecf622e8f5923f93564beb7e1d SHA512 6e1f44a648c924fd0c36670c5a96936c3656b81c0a7bd8da6c79a8f1dedb87bde994c7570a126df2ae6c7408018bac5cd24cf7b931720851936a420c2f28dd87 WHIRLPOOL 6f5bf8e259f3ca5682eb0edf9d0d91b8cebf5ce5158db2b2a275e7cefa87ebfe92371ee6ccbb0dc3f4c6a162cc0f4d8c0e3a5bff96e4130fa275d8a31ac61787
+MISC ChangeLog 5396 SHA256 4287320ab76840e8f49e0d2eedd712c73c83dc85b56e00ee117b91f8feb15a98 SHA512 84480fffb06c3dac8fb7edb193301f777d126af3d7174d3dc14d770e1f332ce21c575e80a19d57da4807b08e9445a966a6adc6e422f8df8ca6becf713faa70b9 WHIRLPOOL ce5d8c74407ca3a14ce6f7e19324c1c32d0d0b8a27b3b951cc7a8f839d726f069a02d9f41f0c3256dda890313aa83344cb22333747232566cbe63231bb0c0ae0
+MISC ChangeLog-2015 12633 SHA256 01179fdce2bce3673dd0b99b3baae044116651ce5843e5a53db954702569acc8 SHA512 0b19a86a29d703369a4c0cb1d28cb14c05be2a5dece336d60a018de6f21f5adb1e802405d9e2b44cabdddfac35df18b72472eee80ebf70b43b1ae4276cf508a2 WHIRLPOOL ec06d2923d8e245d7cbbf41adde8b6629ed6721e1ddc55b8164758697945d3f0c7ac314f188b3d843a87e4a62e1bc90dacecb5c465c3a952c883fa2379e6ff1d
+MISC metadata.xml 421 SHA256 dd0a0c9889b96578726ae002b5661484bb3b5083f0c9727abd96f571973485b7 SHA512 30c1232aed930c665c2603443cbff9efbb843b1866d6a4d034a517e0669f28f1e6e7562103a8badbd8fb1efd9e69b058870b9c4fcea8fa5e74e7a1ec8ba17fde WHIRLPOOL 7d913973c8410a615038c6dec76f8da4e76eeadb123b2c086714612234ea8e6fb60af03373c7584c4c4bcb00c7591dd1e2ff4d4e37bc86c702116c9686baa984
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 @@
+<?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>
+ <upstream>
+ <remote-id type="pypi">pyserial</remote-id>
+ <remote-id type="sourceforge">pyserial</remote-id>
+ <remote-id type="github">pyserial/pyserial</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyserial/pyserial-2.7-r1.ebuild b/dev-python/pyserial/pyserial-2.7-r1.ebuild
new file mode 100644
index 000000000000..394397eaec95
--- /dev/null
+++ b/dev-python/pyserial/pyserial-2.7-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Serial Port Extension"
+HOMEPAGE="http://pyserial.sourceforge.net/ https://sourceforge.net/projects/pyserial/ https://pypi.python.org/pypi/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="
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Usual avoid d'loading un-needed objects.inv file
+PATCHES=( "${FILESDIR}"/mapping.patch )
+
+DOCS=( CHANGES.txt README.txt )
+
+python_compile_all() {
+ use doc && emake -C documentation html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( documentation/_build/html/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}
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..59ef3d4e7035
--- /dev/null
+++ b/dev-python/pyserial/pyserial-3.2.1.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.python.org/pypi/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.3.ebuild b/dev-python/pyserial/pyserial-3.3.ebuild
new file mode 100644
index 000000000000..49af25222514
--- /dev/null
+++ b/dev-python/pyserial/pyserial-3.3.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.python.org/pypi/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
+}