* [gentoo-commits] repo/gentoo:master commit in: dev-python/flit/, dev-python/flit/files/
@ 2019-12-07 21:55 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2019-12-07 21:55 UTC (permalink / raw
To: gentoo-commits
commit: 92773d426b2d6b6f1bea832cdbf6709d03f40e07
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 7 21:47:37 2019 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Dec 7 21:55:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92773d42
dev-python/flit: New package
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/flit/Manifest | 1 +
dev-python/flit/files/flit-2.1.0-tests.patch | 8 +++++
dev-python/flit/flit-2.1.0.ebuild | 54 ++++++++++++++++++++++++++++
dev-python/flit/metadata.xml | 12 +++++++
4 files changed, 75 insertions(+)
diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
new file mode 100644
index 00000000000..98fa24ff4f5
--- /dev/null
+++ b/dev-python/flit/Manifest
@@ -0,0 +1 @@
+DIST flit-2.1.0.tar.gz 106459 BLAKE2B db51d8cc119ae8aa5f8d0ac1655cd29390065567391cbdf06ca7dbb98a79e96a6d8f318273c2f9a58aaf549090a903360701a844ac071d15304a21ea54052a91 SHA512 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55
diff --git a/dev-python/flit/files/flit-2.1.0-tests.patch b/dev-python/flit/files/flit-2.1.0-tests.patch
new file mode 100644
index 00000000000..04cf9839dbc
--- /dev/null
+++ b/dev-python/flit/files/flit-2.1.0-tests.patch
@@ -0,0 +1,8 @@
+diff --git a/tests/test_inifile.py b/tests/test_inifile.py
+index 150fa47..53ce597 100644
+--- a/tests/test_inifile.py
++++ b/tests/test_inifile.py
+@@ -7,2 +7,3 @@ samples_dir = Path(__file__).parent / 'samples'
+
++@pytest.mark.skip("Needs internet access")
+ def test_invalid_classifier():
diff --git a/dev-python/flit/flit-2.1.0.ebuild b/dev-python/flit/flit-2.1.0.ebuild
new file mode 100644
index 00000000000..ea8427af6c2
--- /dev/null
+++ b/dev-python/flit/flit-2.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Simplified packaging of Python modules"
+HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/flit_core[${PYTHON_USEDEP}]
+ dev-python/intreehooks[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/requests_download[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ sys-apps/grep
+ sys-apps/findutils
+ test? (
+ >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ dev-python/testpath[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/flit-2.1.0-tests.patch"
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc \
+ dev-python/sphinxcontrib-github-alt \
+ dev-python/pygments-github-lexers \
+
+python_prepare_all() {
+ printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
+ "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
+
+ # use toml instead of depricated pytoml
+ grep -r -l -Z -F 'pytoml' | xargs -0 \
+ sed -e 's:import pytoml as toml:import toml:' \
+ -e 's:pytoml:toml:' -i || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/flit/metadata.xml b/dev-python/flit/metadata.xml
new file mode 100644
index 00000000000..48a322e099a
--- /dev/null
+++ b/dev-python/flit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">flit</remote-id>
+ <remote-id type="github">takluyver/flit</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/flit/, dev-python/flit/files/
@ 2021-05-24 19:42 Patrick McLean
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2021-05-24 19:42 UTC (permalink / raw
To: gentoo-commits
commit: c40f558a9c6450e2c4ea5acb90f0a51510937223
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon May 24 19:42:12 2021 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon May 24 19:42:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40f558a
dev-python/flit: Version bump, fix dep in 2.1.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/flit/Manifest | 1 +
dev-python/flit/files/flit-3.2.0-tests.patch | 12 ++++++++++++
dev-python/flit/flit-2.1.0.ebuild | 4 ++--
dev-python/flit/{flit-2.1.0.ebuild => flit-3.2.0.ebuild} | 14 ++++----------
4 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
index 98fa24ff4f5..b98e888eed1 100644
--- a/dev-python/flit/Manifest
+++ b/dev-python/flit/Manifest
@@ -1 +1,2 @@
DIST flit-2.1.0.tar.gz 106459 BLAKE2B db51d8cc119ae8aa5f8d0ac1655cd29390065567391cbdf06ca7dbb98a79e96a6d8f318273c2f9a58aaf549090a903360701a844ac071d15304a21ea54052a91 SHA512 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55
+DIST flit-3.2.0.tar.gz 115192 BLAKE2B dda4b9f5b56b9868d737516841d7fc49c0e97ef8a71f9f0628112f68c3dadae89a87aef56cebfe8ec3762af5970d206fe462add146d52b3893fb8852fd7f9625 SHA512 1db7c4118fe1d70d1e318db3bc282747d6cc3f3b626ad68420fa056e585caad9ff0a3f230e17c919ea260ddeb6330effc4bbed8b30d11ed7b27e78d9d7af0445
diff --git a/dev-python/flit/files/flit-3.2.0-tests.patch b/dev-python/flit/files/flit-3.2.0-tests.patch
new file mode 100644
index 00000000000..7a0a4c5c7a7
--- /dev/null
+++ b/dev-python/flit/files/flit-3.2.0-tests.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/test_config.py b/tests/test_config.py
+index 214cd17..815005b 100644
+--- a/tests/test_config.py
++++ b/tests/test_config.py
+@@ -5,6 +5,7 @@ from flit.config import read_flit_config, ConfigError
+
+ samples_dir = Path(__file__).parent / 'samples'
+
++@pytest.mark.skip("Needs internet access")
+ def test_invalid_classifier():
+ with pytest.raises(ConfigError):
+ read_flit_config(samples_dir / 'invalid_classifier.toml')
diff --git a/dev-python/flit/flit-2.1.0.ebuild b/dev-python/flit/flit-2.1.0.ebuild
index 2b61057002d..4dd0cc17172 100644
--- a/dev-python/flit/flit-2.1.0.ebuild
+++ b/dev-python/flit/flit-2.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
- dev-python/flit_core[${PYTHON_USEDEP}]
+ <dev-python/flit_core-3.0.0[${PYTHON_USEDEP}]
dev-python/intreehooks[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests_download[${PYTHON_USEDEP}]
diff --git a/dev-python/flit/flit-2.1.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild
similarity index 74%
copy from dev-python/flit/flit-2.1.0.ebuild
copy to dev-python/flit/flit-3.2.0.ebuild
index 2b61057002d..289ae980771 100644
--- a/dev-python/flit/flit-2.1.0.ebuild
+++ b/dev-python/flit/flit-3.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Simplified packaging of Python modules"
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
- dev-python/flit_core[${PYTHON_USEDEP}]
+ >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
dev-python/intreehooks[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests_download[${PYTHON_USEDEP}]
@@ -26,14 +26,13 @@ BDEPEND="${RDEPEND}
sys-apps/grep
sys-apps/findutils
test? (
- >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
dev-python/testpath[${PYTHON_USEDEP}]
)
"
PATCHES=(
- "${FILESDIR}/flit-2.1.0-tests.patch"
+ "${FILESDIR}/flit-3.2.0-tests.patch"
)
distutils_enable_tests pytest
@@ -45,10 +44,5 @@ python_prepare_all() {
printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
"${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
- # use toml instead of depricated pytoml
- grep -r -l -Z -F 'pytoml' | xargs -0 \
- sed -e 's:import pytoml as toml:import toml:' \
- -e 's:pytoml:toml:' -i || die
-
distutils-r1_python_prepare_all
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/flit/, dev-python/flit/files/
@ 2021-10-17 8:23 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-10-17 8:23 UTC (permalink / raw
To: gentoo-commits
commit: 2612e1e9d4ccdbbdaff69ef5d8327c6ff25bd3f7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 17 08:17:33 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 08:23:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2612e1e9
dev-python/flit: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/flit/Manifest | 3 --
dev-python/flit/files/flit-2.1.0-tests.patch | 8 -----
dev-python/flit/flit-2.1.0.ebuild | 54 ----------------------------
dev-python/flit/flit-3.2.0.ebuild | 48 -------------------------
dev-python/flit/flit-3.3.0-r1.ebuild | 42 ----------------------
5 files changed, 155 deletions(-)
diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
index a54854c5e95..322b5f73e52 100644
--- a/dev-python/flit/Manifest
+++ b/dev-python/flit/Manifest
@@ -1,4 +1 @@
-DIST flit-2.1.0.tar.gz 106459 BLAKE2B db51d8cc119ae8aa5f8d0ac1655cd29390065567391cbdf06ca7dbb98a79e96a6d8f318273c2f9a58aaf549090a903360701a844ac071d15304a21ea54052a91 SHA512 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55
-DIST flit-3.2.0.tar.gz 115192 BLAKE2B dda4b9f5b56b9868d737516841d7fc49c0e97ef8a71f9f0628112f68c3dadae89a87aef56cebfe8ec3762af5970d206fe462add146d52b3893fb8852fd7f9625 SHA512 1db7c4118fe1d70d1e318db3bc282747d6cc3f3b626ad68420fa056e585caad9ff0a3f230e17c919ea260ddeb6330effc4bbed8b30d11ed7b27e78d9d7af0445
-DIST flit-3.3.0.tar.gz 117809 BLAKE2B 8ad74f70406e41b35b44886b145b52d83fc30d0a1395bf711807da2ae3974ae8606113e4bcd556694854c48c8c01c3c03b4a1021c7cc3e33cce0e99a5abbb9ea SHA512 904889298aab581640e8323fd68c83d753ea97af0ed1b8f438f192d84d09ced83718440a03d23864885fcf966de9665c3046f0f3a1b1d4170b2decf8430ff006
DIST flit-3.4.0.tar.gz 120418 BLAKE2B e99eb67daa9a1d8e738ff9b917117edaf7372bbe267163f8af64967e43c3bed94893849e9752d36d3965e70c798dd3fb3b454131cee2d34697cc389f11aaea69 SHA512 18f1d1cb86508e76b4e37e6c1ca2c414400c86e9163bcc52fd3358220e5b4362da4001da7ce427926c62ad67ee86799ea8d08e858e5e17230941c529b9995ce5
diff --git a/dev-python/flit/files/flit-2.1.0-tests.patch b/dev-python/flit/files/flit-2.1.0-tests.patch
deleted file mode 100644
index 04cf9839dbc..00000000000
--- a/dev-python/flit/files/flit-2.1.0-tests.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff --git a/tests/test_inifile.py b/tests/test_inifile.py
-index 150fa47..53ce597 100644
---- a/tests/test_inifile.py
-+++ b/tests/test_inifile.py
-@@ -7,2 +7,3 @@ samples_dir = Path(__file__).parent / 'samples'
-
-+@pytest.mark.skip("Needs internet access")
- def test_invalid_classifier():
diff --git a/dev-python/flit/flit-2.1.0.ebuild b/dev-python/flit/flit-2.1.0.ebuild
deleted file mode 100644
index 4dd0cc17172..00000000000
--- a/dev-python/flit/flit-2.1.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Simplified packaging of Python modules"
-HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
- <dev-python/flit_core-3.0.0[${PYTHON_USEDEP}]
- dev-python/intreehooks[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/requests_download[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- sys-apps/grep
- sys-apps/findutils
- test? (
- >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
- dev-python/responses[${PYTHON_USEDEP}]
- dev-python/testpath[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/flit-2.1.0-tests.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx doc \
- dev-python/sphinxcontrib-github-alt \
- dev-python/pygments-github-lexers \
-
-python_prepare_all() {
- printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
- "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
-
- # use toml instead of depricated pytoml
- grep -r -l -Z -F 'pytoml' | xargs -0 \
- sed -e 's:import pytoml as toml:import toml:' \
- -e 's:pytoml:toml:' -i || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild
deleted file mode 100644
index 289ae980771..00000000000
--- a/dev-python/flit/flit-3.2.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Simplified packaging of Python modules"
-HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
- >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
- dev-python/intreehooks[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/requests_download[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- sys-apps/grep
- sys-apps/findutils
- test? (
- dev-python/responses[${PYTHON_USEDEP}]
- dev-python/testpath[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/flit-3.2.0-tests.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx doc \
- dev-python/sphinxcontrib-github-alt \
- dev-python/pygments-github-lexers \
-
-python_prepare_all() {
- printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
- "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/flit/flit-3.3.0-r1.ebuild b/dev-python/flit/flit-3.3.0-r1.ebuild
deleted file mode 100644
index d5480782852..00000000000
--- a/dev-python/flit/flit-3.3.0-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Simplified packaging of Python modules"
-HOMEPAGE="https://github.com/takluyver/flit https://flit.readthedocs.io/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/docutils[${PYTHON_USEDEP}]
- >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
- dev-python/intreehooks[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/requests_download[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
-"
-BDEPEND="${RDEPEND}
- sys-apps/grep
- sys-apps/findutils
- test? (
- dev-python/responses[${PYTHON_USEDEP}]
- dev-python/testpath[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/flit-3.2.0-tests.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx doc \
- dev-python/sphinxcontrib-github-alt \
- dev-python/pygments-github-lexers \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-17 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-07 21:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/flit/, dev-python/flit/files/ Patrick McLean
-- strict thread matches above, loose matches on Subject: below --
2021-05-24 19:42 Patrick McLean
2021-10-17 8:23 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox