Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyserial/, dev-python/pyserial/files/
Date: Sun, 21 Aug 2016 18:36:39
Message-Id: 1471804586.dea20dc0ea28148a7715d5f98acbd5792645ba31.radhermit@gentoo
1 commit: dea20dc0ea28148a7715d5f98acbd5792645ba31
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 21 18:35:13 2016 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 21 18:36:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea20dc0
7
8 dev-python/pyserial: remove old
9
10 dev-python/pyserial/Manifest | 1 -
11 .../pyserial/files/pyserial-2.5-python-3.patch | 43 ----------------------
12 .../pyserial/files/pyserial-2.6-list_ports.patch | 15 --------
13 dev-python/pyserial/pyserial-2.6-r1.ebuild | 22 -----------
14 dev-python/pyserial/pyserial-2.7.ebuild | 22 -----------
15 5 files changed, 103 deletions(-)
16
17 diff --git a/dev-python/pyserial/Manifest b/dev-python/pyserial/Manifest
18 index aa457f6..44e16e7 100644
19 --- a/dev-python/pyserial/Manifest
20 +++ b/dev-python/pyserial/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST pyserial-2.6.tar.gz 116289 SHA256 049dbcda0cd475d3be903e721d60889ee2cc4ec3b62892a81ecef144196413ed SHA512 41682f8fafb6c5fa9642d3a0a3d6d0648101c38d157005f9c4e019e55d534953486072caf05647d8828b0e19c8259cc61cac856a570bf09904922ffd175fad2d WHIRLPOOL d632521d4687751f3056eda3ef254d603a7450d09457deed4d12136ee690d8af8d9aea1b8f8aebe9ec877a00bec5fa54933d2bff0cec281de0b676dde3d86e55
23 DIST pyserial-2.7.tar.gz 122081 SHA256 3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 SHA512 3fc8d9425a47ebcd37db1fcc58182854b48c9abd6642f35fba2d21458d864ae448105d704dc0d880832ba7516fa16f108f24363bd5fa9f083ea79a4ac614339b WHIRLPOOL ae6b4df86220617f7fbc1f1e4085a7e85dca645a6d84339163b40fc7a15f14b879ef7a729d3d23d0300f9ee04b21d6c24d13a791d520aef3f3ad141c6acd9b68
24 DIST pyserial-3.1.1.tar.gz 147535 SHA256 d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c SHA512 05b6f893454b187757c8d01c8d3951751ba93e87aafd474fa684a24198eed22f892181bcbab40101e74b25dae612116880690e800adedaf56a5c12775ed2b8d8 WHIRLPOOL d9d4b4894c94da9a357b27eb5e32766c0ff46cac751667f2f2195ca82ae2a2095a9df3ba219c10818faebd420912250a0dfcc6e86aedb7c4feaf6f553cdf4d52
25
26 diff --git a/dev-python/pyserial/files/pyserial-2.5-python-3.patch b/dev-python/pyserial/files/pyserial-2.5-python-3.patch
27 deleted file mode 100644
28 index 5ad5c6c..0000000
29 --- a/dev-python/pyserial/files/pyserial-2.5-python-3.patch
30 +++ /dev/null
31 @@ -1,43 +0,0 @@
32 -http://pyserial.svn.sourceforge.net/viewvc/pyserial?view=revision&revision=381
33 -
34 ---- setup.py
35 -+++ setup.py
36 -@@ -1,7 +1,13 @@
37 --# setup.py for pyserial
38 -+# setup.py for pySerial
39 - #
40 --# windows installer:
41 --# python setup.py bdist_wininst
42 -+# Windows installer:
43 -+# "python setup.py bdist_wininst"
44 -+#
45 -+# Direct install (all systems):
46 -+# "python setup.py install"
47 -+#
48 -+# For Python 3.x use the corresponding Python executable,
49 -+# e.g. "python3 setup.py ..."
50 -
51 - import sys
52 -
53 -@@ -9,10 +15,12 @@
54 -
55 - try:
56 - from distutils.command.build_py import build_py_2to3 as build_py
57 -+ from distutils.command.build_scripts import build_scripts_2to3 as build_scripts
58 - except ImportError:
59 - if sys.version_info >= (3, 0):
60 - raise ImportError("build_py_2to3 not found in distutils - it is required for Python 3.x")
61 - from distutils.command.build_py import build_py
62 -+ from distutils.command.build_scripts import build_scripts
63 - suffix = ""
64 - else:
65 - suffix = "-py3k"
66 -@@ -60,7 +68,7 @@
67 - 'Topic :: Terminals :: Serial',
68 - ],
69 - platforms = 'any',
70 -- cmdclass = {'build_py': build_py},
71 -+ cmdclass = {'build_py': build_py, 'build_scripts': build_scripts},
72 -
73 - scripts = ['examples/miniterm.py'],
74 - )
75
76 diff --git a/dev-python/pyserial/files/pyserial-2.6-list_ports.patch b/dev-python/pyserial/files/pyserial-2.6-list_ports.patch
77 deleted file mode 100644
78 index 70bfaf2..0000000
79 --- a/dev-python/pyserial/files/pyserial-2.6-list_ports.patch
80 +++ /dev/null
81 @@ -1,15 +0,0 @@
82 -https://sourceforge.net/p/pyserial/patches/26/
83 -Index: trunk/pyserial/serial/tools/list_ports_posix.py
84 -===================================================================
85 ---- trunk/pyserial/serial/tools/list_ports_posix.py (revision 439)
86 -+++ trunk/pyserial/serial/tools/list_ports_posix.py (working copy)
87 -@@ -64,7 +64,8 @@
88 - )
89 -
90 - def usb_lsusb_string(sysfs_path):
91 -- bus, dev = os.path.basename(os.path.realpath(sysfs_path)).split('-')
92 -+ base = os.path.basename(os.path.realpath(sysfs_path))
93 -+ bus, dev = base.split('-')
94 - try:
95 - desc = popen(['lsusb', '-v', '-s', '%s:%s' % (bus, dev)])
96 - # descriptions from device
97
98 diff --git a/dev-python/pyserial/pyserial-2.6-r1.ebuild b/dev-python/pyserial/pyserial-2.6-r1.ebuild
99 deleted file mode 100644
100 index 173964a..0000000
101 --- a/dev-python/pyserial/pyserial-2.6-r1.ebuild
102 +++ /dev/null
103 @@ -1,22 +0,0 @@
104 -# Copyright 1999-2015 Gentoo Foundation
105 -# Distributed under the terms of the GNU General Public License v2
106 -# $Id$
107 -
108 -EAPI=5
109 -PYTHON_COMPAT=( python{2_7,3_3} pypy )
110 -
111 -inherit distutils-r1
112 -
113 -DESCRIPTION="Python Serial Port Extension"
114 -HOMEPAGE="http://pyserial.sourceforge.net/ https://sourceforge.net/projects/pyserial/ https://pypi.python.org/pypi/pyserial"
115 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
116 -
117 -LICENSE="PSF-2"
118 -SLOT="0"
119 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
120 -IUSE=""
121 -
122 -DEPEND=""
123 -RDEPEND=""
124 -DOCS=( CHANGES.txt README.txt )
125 -PATCHES=( "${FILESDIR}"/${PN}-${PV}-list_ports.patch )
126
127 diff --git a/dev-python/pyserial/pyserial-2.7.ebuild b/dev-python/pyserial/pyserial-2.7.ebuild
128 deleted file mode 100644
129 index 80ba027..0000000
130 --- a/dev-python/pyserial/pyserial-2.7.ebuild
131 +++ /dev/null
132 @@ -1,22 +0,0 @@
133 -# Copyright 1999-2015 Gentoo Foundation
134 -# Distributed under the terms of the GNU General Public License v2
135 -# $Id$
136 -
137 -EAPI=5
138 -PYTHON_COMPAT=( python{2_7,3_3} pypy )
139 -
140 -inherit distutils-r1
141 -
142 -DESCRIPTION="Python Serial Port Extension"
143 -HOMEPAGE="http://pyserial.sourceforge.net/ https://sourceforge.net/projects/pyserial/ https://pypi.python.org/pypi/pyserial"
144 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
145 -
146 -LICENSE="PSF-2"
147 -SLOT="0"
148 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
149 -IUSE=""
150 -
151 -DEPEND=""
152 -RDEPEND=""
153 -
154 -DOCS=( CHANGES.txt README.txt )