summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-22 19:38:35 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-22 19:55:07 +0100
commit386be4c0ab75ebdec2e3eb422bc823ae8f62d203 (patch)
tree4b9553edaadc373085faca323070eb455496de8b /dev-python/flit_core
parentdev-python/sentry-sdk: Bump to 1.5.6 (diff)
downloadgentoo-386be4c0ab75ebdec2e3eb422bc823ae8f62d203.tar.gz
gentoo-386be4c0ab75ebdec2e3eb422bc823ae8f62d203.tar.bz2
gentoo-386be4c0ab75ebdec2e3eb422bc823ae8f62d203.zip
dev-python/flit_core: Bump to 3.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flit_core')
-rw-r--r--dev-python/flit_core/Manifest1
-rw-r--r--dev-python/flit_core/flit_core-3.7.0.ebuild34
-rw-r--r--dev-python/flit_core/metadata.xml2
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-python/flit_core/Manifest b/dev-python/flit_core/Manifest
index 9ffb2d22f507..06578e6bafa7 100644
--- a/dev-python/flit_core/Manifest
+++ b/dev-python/flit_core/Manifest
@@ -1,2 +1,3 @@
DIST flit_core-3.5.1.tar.gz 27497 BLAKE2B 0e47576a05afa306a17e0fe64bd48e4a141fa51df225365495692aeae1c693635f1ea13ba23fdd93543c9b152dcfc2424bd8101a544ad25be2c4561964a8a8bb SHA512 c83b5bd54ffdf2d7dbea340939cb5f0210ffd36aa0f61b02519837843ebbab206a2456a007f76cbae45c2133ef3d21949d1834083c8dddb505ed5bb127a5fdba
DIST flit_core-3.6.0.tar.gz 37534 BLAKE2B 7450dcddc0719e17b79b82a07fbfee3116ea9eface5cba8f7d6fa27011f6b20822f8f5c02633ac75456b30327328ef60e05e15ca78a26935dfac5a66e2538a1e SHA512 6a217a6e7d8c4f81491314987ff1510f1cede233213982d9f7b2705ab5b1a7fb4b337ad9daa5ff824ed00034ba1d53215d56def86909240d49265e628ffb83b2
+DIST flit_core-3.7.0.tar.gz 39892 BLAKE2B 19521ea85d72986dc532618bc13bd646178c10caf012bdae7a5a1d6a45d233228aaa16ac1096170bf88074272078202fa340e1d4aa88dd998868c730209e3060 SHA512 13059aeda4694a110a8777ddf13458723cec6ab9f8eeeff6ed237e7a1c2c1873128553d33e605704ef7b5ffc9438087f0f5cf52d9c3208fedafcecbe5ebfa67c
diff --git a/dev-python/flit_core/flit_core-3.7.0.ebuild b/dev-python/flit_core/flit_core-3.7.0.ebuild
new file mode 100644
index 000000000000..5a8e37d303be
--- /dev/null
+++ b/dev-python/flit_core/flit_core-3.7.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Simplified packaging of Python modules (core module)"
+HOMEPAGE="
+ https://pypi.org/project/flit_core/
+ https://github.com/pypa/flit/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+ dev-python/tomli[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? ( dev-python/testpath[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm -r flit_core/vendor || die
+ sed -i -e 's:from \.vendor ::' flit_core/*.py || die
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/flit_core/metadata.xml b/dev-python/flit_core/metadata.xml
index 3f418d3bf441..450099f02c47 100644
--- a/dev-python/flit_core/metadata.xml
+++ b/dev-python/flit_core/metadata.xml
@@ -11,7 +11,7 @@
</maintainer>
<stabilize-allarches/>
<upstream>
- <remote-id type="pypi">flit-core</remote-id>
+ <remote-id type="pypi">flit_core</remote-id>
<remote-id type="github">pypa/flit</remote-id>
</upstream>
</pkgmetadata>