diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
commit | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (patch) | |
tree | 4eccd905f575579fe47abb8a83bbdb44ceb8c929 /dev-python/flit-scm | |
parent | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (diff) |
gentoo auto-resync : 23:11:2024 - 03:02:56
Diffstat (limited to 'dev-python/flit-scm')
-rw-r--r-- | dev-python/flit-scm/Manifest | 3 | ||||
-rw-r--r-- | dev-python/flit-scm/flit-scm-1.7.0.ebuild | 44 | ||||
-rw-r--r-- | dev-python/flit-scm/metadata.xml | 12 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/flit-scm/Manifest b/dev-python/flit-scm/Manifest new file mode 100644 index 000000000000..dfb522926b02 --- /dev/null +++ b/dev-python/flit-scm/Manifest @@ -0,0 +1,3 @@ +DIST flit_scm-1.7.0.tar.bz2 3259 BLAKE2B 9b785f9f92b16494f6bf0c21e16ee1abf6a130ebb5c41d4e0e73f4ab1c892ec14544a4b86fe9ba22dbb43a2c28cebbe84328c172566b27c195d41e3686184b9e SHA512 a030cd2ab9d100b971ac20ad5f52f206d951fb6c88cd48db0250269a32cf0dfae70738bf3dc4d36396a3da3e09c7283eec365e12608f6f6d7be3e9076bb931d2 +EBUILD flit-scm-1.7.0.ebuild 1020 BLAKE2B f980e8593004811d9cb33e5929f01807b1bcd768424feaca52b2a1458968cf3fe78b24307fad014993841a7637382373109788c7800e294776b4dd3a184c44c5 SHA512 697a7b82df4607d3ac24a30acc4991a1832758ea69855213bc36fa0e20acba7adddee60ddbeff6bf9fb1470a35e3df97800dc0b6f6d97634626536dfb500766a +MISC metadata.xml 374 BLAKE2B 826b2cfded5a7acd42029529489ea435315e9d27baedeb5cde81073a50993527a3eb9b9da6629f8338dcf1ade8436a8110988124a68a2f5ec6278af716d26c6c SHA512 4f1b245ed7a7d8560505596f3353967f86e2d809d90916a488dd6ba10e2dc08ddd9956efdf8eb7e0dc5219a84a1d4b4136620b40537d703f2e00a81f5bcb7370 diff --git a/dev-python/flit-scm/flit-scm-1.7.0.ebuild b/dev-python/flit-scm/flit-scm-1.7.0.ebuild new file mode 100644 index 000000000000..046051c4e61f --- /dev/null +++ b/dev-python/flit-scm/flit-scm-1.7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +MY_P=flit_scm-${PV} +DESCRIPTION="A PEP 518 build backend combining flit with setuptools_scm" +HOMEPAGE=" + https://gitlab.com/WillDaSilva/flit_scm/ + https://pypi.org/project/flit-scm/ +" +SRC_URI=" + https://gitlab.com/WillDaSilva/flit_scm/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/flit-core-3.5.0[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-6.4.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/tomli-3[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} +" + +src_prepare() { + # unpin deps + sed -i -e 's:~=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/flit-scm/metadata.xml b/dev-python/flit-scm/metadata.xml new file mode 100644 index 000000000000..7cedb380db9b --- /dev/null +++ b/dev-python/flit-scm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">flit-scm</remote-id> + <remote-id type="gitlab">WillDaSilva/flit_scm</remote-id> + </upstream> +</pkgmetadata> |