Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/line_profiler/
Date: Sat, 02 Dec 2017 20:51:18
Message-Id: 1512247871.28f4854de3779c45b3caf44679fe06c4798e6b79.jlec@gentoo
1 commit: 28f4854de3779c45b3caf44679fe06c4798e6b79
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 2 20:22:43 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 2 20:51:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f4854d
7
8 dev-python/line_profiler: Fix python3 support
9
10 * drop old
11 * Add pypi homepage
12
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14 Package-Manager: Portage-2.3.16, Repoman-2.3.6
15
16 dev-python/line_profiler/Manifest | 1 -
17 .../line_profiler/line_profiler-1.0-r1.ebuild | 32 ----------------------
18 dev-python/line_profiler/line_profiler-1.0.ebuild | 27 ------------------
19 dev-python/line_profiler/line_profiler-2.0.ebuild | 6 ++--
20 4 files changed, 4 insertions(+), 62 deletions(-)
21
22 diff --git a/dev-python/line_profiler/Manifest b/dev-python/line_profiler/Manifest
23 index a24fecd1c24..e36d85f8931 100644
24 --- a/dev-python/line_profiler/Manifest
25 +++ b/dev-python/line_profiler/Manifest
26 @@ -1,2 +1 @@
27 -DIST line_profiler-1.0.tar.gz 65862 SHA256 a9e0c9ffa814f1215107c86c890afa8e63bec5a37d951f6f9d3668c1df2b1900 SHA512 15dd7ee10951287a5030eaff28e729e82094ec41d8e8dec803d5e44c6b9036ecbf1198365ef43c1fdd28451dec260c6491d118f1762d99fe037bb85eb7908dda WHIRLPOOL 1fd56ea4777a3c569807a124c708018fc77e68521d1f1ecdb13c343ddad3fcd881353cd71a0af36d06a12f1dd17be0f2731040fca5e827a4936298057dabf917
28 DIST line_profiler-2.0.tar.gz 68478 SHA256 739f8ad0e4bcd0cb82e99afc09e00a0351234f6b3f0b1f7f0090a8a2fbbf8381 SHA512 c0335fc69fb47c150fa5555af4f7fdf4b172ca12ee6512e04ba854c4a81f3e6ee5594e484d11c8ea7e9e8048e3f3b8661db52332d4ac645195a0e050acea4ecb WHIRLPOOL 6f4a3816fb22c86fe1c691a3e949be41da7680055db5c0909dbfb9af4052cfa50640eca43e0e918e903c23c9e6b8858ebff76e4fa21d8648084ade74f45a2915
29
30 diff --git a/dev-python/line_profiler/line_profiler-1.0-r1.ebuild b/dev-python/line_profiler/line_profiler-1.0-r1.ebuild
31 deleted file mode 100644
32 index 6dbe4b315ca..00000000000
33 --- a/dev-python/line_profiler/line_profiler-1.0-r1.ebuild
34 +++ /dev/null
35 @@ -1,32 +0,0 @@
36 -# Copyright 1999-2016 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
42 -
43 -inherit distutils-r1
44 -
45 -DESCRIPTION="Line-by-line profiler"
46 -HOMEPAGE="https://github.com/rkern/line_profiler"
47 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 -KEYWORDS="~amd64"
49 -
50 -SLOT="0"
51 -LICENSE="BSD"
52 -KEYWORDS="~amd64 ~x86"
53 -IUSE="test"
54 -
55 -DEPEND="
56 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
57 - "
58 -
59 -PATCHES=(
60 - "${FILESDIR}/${P}-fix-name-from-copypasta.patch"
61 - "${FILESDIR}/${P}-ipython-5.0-compatibility.patch"
62 -)
63 -
64 -python_test() {
65 - "${PYTHON}" -m unittest discover -v "${S}"/tests/ \
66 - || die "Tests failed with ${EPYTHON}"
67 -}
68
69 diff --git a/dev-python/line_profiler/line_profiler-1.0.ebuild b/dev-python/line_profiler/line_profiler-1.0.ebuild
70 deleted file mode 100644
71 index 802d85e7420..00000000000
72 --- a/dev-python/line_profiler/line_profiler-1.0.ebuild
73 +++ /dev/null
74 @@ -1,27 +0,0 @@
75 -# Copyright 1999-2015 Gentoo Foundation
76 -# Distributed under the terms of the GNU General Public License v2
77 -
78 -EAPI=5
79 -
80 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
81 -
82 -inherit distutils-r1
83 -
84 -DESCRIPTION="Line-by-line profiler"
85 -HOMEPAGE="https://github.com/rkern/line_profiler"
86 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
87 -KEYWORDS="~amd64"
88 -
89 -SLOT="0"
90 -LICENSE="BSD"
91 -KEYWORDS="~amd64 ~x86"
92 -IUSE="test"
93 -
94 -DEPEND="
95 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
96 - "
97 -
98 -python_test() {
99 - "${PYTHON}" -m unittest discover -v "${S}"/tests/ \
100 - || die "Tests failed with ${EPYTHON}"
101 -}
102
103 diff --git a/dev-python/line_profiler/line_profiler-2.0.ebuild b/dev-python/line_profiler/line_profiler-2.0.ebuild
104 index 81d586184a0..48e524a993c 100644
105 --- a/dev-python/line_profiler/line_profiler-2.0.ebuild
106 +++ b/dev-python/line_profiler/line_profiler-2.0.ebuild
107 @@ -3,12 +3,14 @@
108
109 EAPI=6
110
111 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
112 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
113
114 inherit distutils-r1
115
116 DESCRIPTION="Line-by-line profiler"
117 -HOMEPAGE="https://github.com/rkern/line_profiler"
118 +HOMEPAGE="
119 + https://github.com/rkern/line_profiler
120 + https://pypi.python.org/pypi/line_profiler"
121 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
122 KEYWORDS="~amd64"