Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_warnings_filters/
Date: Tue, 02 May 2017 17:44:36
Message-Id: 1493747019.773e985801512269515c45c5c4a1da2988d62893.mgorny@gentoo
1 commit: 773e985801512269515c45c5c4a1da2988d62893
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 2 17:17:15 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 2 17:43:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773e9858
7
8 dev-python/nose_warnings_filters: Clean old versions up
9
10 dev-python/nose_warnings_filters/Manifest | 2 -
11 .../nose_warnings_filters-0.1.0.ebuild | 51 ----------------------
12 .../nose_warnings_filters-0.1.1.ebuild | 51 ----------------------
13 3 files changed, 104 deletions(-)
14
15 diff --git a/dev-python/nose_warnings_filters/Manifest b/dev-python/nose_warnings_filters/Manifest
16 index cca382f14c1..d0b1efd0b07 100644
17 --- a/dev-python/nose_warnings_filters/Manifest
18 +++ b/dev-python/nose_warnings_filters/Manifest
19 @@ -1,3 +1 @@
20 -DIST nose_warnings_filters-0.1.0.tar.gz 3551 SHA256 198f1fb8d69583e555d565a544fb6817366d8493a783bbba6121a7c0adb8a7bb SHA512 6715d3a84fdaa712dfb10e4f48f874900e979dc58cbc8fdb4728a1589c9f0bec42b831e4896fb935b2ed4b2bde49e08210922ac3cda8fc0f18683b992f1b3dad WHIRLPOOL 1b1b65811e788eb27f67b2c7bbe8ee02a74dd53df8daa1af0d191cfdff8e9504d0885ede89657952d24b37a54bc193218ffa823071677e097040b0e7b32ac6cb
21 -DIST nose_warnings_filters-0.1.1.tar.gz 4118 SHA256 5d11dc351e6059cc398351140041377cffa1390097bc1564bdf325005163228c SHA512 fee5acff223077a8f5d753a7d01a77c0c3e2981bac8d4d8a847e1c81d363a945f0487a7237950dae9bd07fb3ee79c7404e512eba7e9987608baf70ec85bc684b WHIRLPOOL 2e826c01f70b9c7e4674fcd02fe1e7f129c5195d13cb55a76ca21d87dd032198599ca18a29d4b28cacef95b2f21c03282c31f7b58b9037b33680dd3e7a038477
22 DIST nose_warnings_filters-0.1.5.tar.gz 3895 SHA256 456c5b2ccca24e1d00a7b558274ebf9318305813dcb9585951a73ae11d76bb9d SHA512 7ada463840bb2e3a1c7e357c231f9c7d4c7ce9f24fe7fe1e33404df41711663c8232001f9a258898f49ce89bb542a942240cf7312ee41bc75f86ca2015378405 WHIRLPOOL bff4646af7733229ecfd2b1926aa9036b4ea2b3d219493bcb3a1f1155bab1dc1c064a9a19a6f1ee4c608eaaa118fbba9ff286f9d915a591e7d1fc7ea2536569b
23
24 diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.0.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.0.ebuild
25 deleted file mode 100644
26 index ffdc6682fe5..00000000000
27 --- a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.0.ebuild
28 +++ /dev/null
29 @@ -1,51 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -
35 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
36 -
37 -inherit python-r1
38 -
39 -DESCRIPTION="A python module to inject warning filters during nosetest"
40 -HOMEPAGE="https://github.com/Carreau/nose_warnings_filters"
41 -SRC_URI="https://github.com/Carreau/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -
47 -DEPEND="${PYTHON_DEPS}
48 - dev-python/nose[${PYTHON_USEDEP}]"
49 -RDEPEND="${DEPEND}"
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -
52 -src_test() {
53 - # nose_warnings_filters doesn't have a proper
54 - # testing suite, hence we run the only testing
55 - # script available
56 - export PYTHONPATH="${S}:${S}/${PN}/tests"
57 - touch "${S}/${PN}/tests/__init__.py" || die
58 - run_test() {
59 - "${PYTHON}" "${PN}"/tests/test_config.py \
60 - || die "Failed running test script"
61 - }
62 - python_foreach_impl run_test
63 - unset PYTHONPATH
64 -}
65 -
66 -src_install() {
67 - python_moduleinto "${PN}"
68 - install_files() {
69 - python_domodule "${PN}/__init__.py"
70 -
71 - # Unfortunately, nose_warnings_filters is designed
72 - # as a wheel package, for which a METADATA file is
73 - # strictly required, otherwise a Runtime error is thrown
74 - local egg_dir="${D%/}$(python_get_sitedir)/${PN}-${PV}.dist-info"
75 - mkdir -p "${egg_dir}" || die
76 - cp entry_points.txt "${egg_dir}" || die
77 - touch "${egg_dir}"/METADATA || die
78 - }
79 - python_foreach_impl install_files
80 -}
81
82 diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild
83 deleted file mode 100644
84 index ffdc6682fe5..00000000000
85 --- a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.1.ebuild
86 +++ /dev/null
87 @@ -1,51 +0,0 @@
88 -# Copyright 1999-2016 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=6
92 -
93 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
94 -
95 -inherit python-r1
96 -
97 -DESCRIPTION="A python module to inject warning filters during nosetest"
98 -HOMEPAGE="https://github.com/Carreau/nose_warnings_filters"
99 -SRC_URI="https://github.com/Carreau/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
100 -
101 -LICENSE="MIT"
102 -SLOT="0"
103 -KEYWORDS="~amd64 ~x86"
104 -
105 -DEPEND="${PYTHON_DEPS}
106 - dev-python/nose[${PYTHON_USEDEP}]"
107 -RDEPEND="${DEPEND}"
108 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
109 -
110 -src_test() {
111 - # nose_warnings_filters doesn't have a proper
112 - # testing suite, hence we run the only testing
113 - # script available
114 - export PYTHONPATH="${S}:${S}/${PN}/tests"
115 - touch "${S}/${PN}/tests/__init__.py" || die
116 - run_test() {
117 - "${PYTHON}" "${PN}"/tests/test_config.py \
118 - || die "Failed running test script"
119 - }
120 - python_foreach_impl run_test
121 - unset PYTHONPATH
122 -}
123 -
124 -src_install() {
125 - python_moduleinto "${PN}"
126 - install_files() {
127 - python_domodule "${PN}/__init__.py"
128 -
129 - # Unfortunately, nose_warnings_filters is designed
130 - # as a wheel package, for which a METADATA file is
131 - # strictly required, otherwise a Runtime error is thrown
132 - local egg_dir="${D%/}$(python_get_sitedir)/${PN}-${PV}.dist-info"
133 - mkdir -p "${egg_dir}" || die
134 - cp entry_points.txt "${egg_dir}" || die
135 - touch "${egg_dir}"/METADATA || die
136 - }
137 - python_foreach_impl install_files
138 -}