diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-15 07:15:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-15 07:57:56 +0200 |
commit | a172e1e91406a185ed17be600f03a84c3f6021f1 (patch) | |
tree | f8d587e9282eec07d231f106f7a1b4690aeaa954 /dev-python/flit-core | |
parent | dev-python/astroid: Bump to 2.15.5 (diff) | |
download | gentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.tar.gz gentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.tar.bz2 gentoo-a172e1e91406a185ed17be600f03a84c3f6021f1.zip |
Rename dev-python/{flit_core → flit-core}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flit-core')
-rw-r--r-- | dev-python/flit-core/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flit-core/flit-core-3.8.0.ebuild | 35 | ||||
-rw-r--r-- | dev-python/flit-core/metadata.xml | 17 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/flit-core/Manifest b/dev-python/flit-core/Manifest new file mode 100644 index 000000000000..836007983c05 --- /dev/null +++ b/dev-python/flit-core/Manifest @@ -0,0 +1 @@ +DIST flit_core-3.8.0.tar.gz 41224 BLAKE2B 20d0b1e245280938b1edfa83531907775af9da30cc6e1446d578eafc7e14184d3c8fb80f446d265456ea5ea587c51edfdb706793a8894916525b3ebba322b3b0 SHA512 914804e3f2040762381afe039272d9d6fdbcd3f3cf8b9eea854f2f1d95edcb01718fd6685476bc1cdc251dfc46ef80b40f087df881d8b963dcc3f3332fd32a46 diff --git a/dev-python/flit-core/flit-core-3.8.0.ebuild b/dev-python/flit-core/flit-core-3.8.0.ebuild new file mode 100644 index 000000000000..2e0af2ca62fa --- /dev/null +++ b/dev-python/flit-core/flit-core-3.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2023 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_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~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 new file mode 100644 index 000000000000..3f418d3bf441 --- /dev/null +++ b/dev-python/flit-core/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">flit-core</remote-id> + <remote-id type="github">pypa/flit</remote-id> + </upstream> +</pkgmetadata> |