mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/flit_scm: New package, v1.5.0
New NIH build system, needed for exceptiongroup that is needed for dev-python/cattrs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
1
dev-python/flit_scm/Manifest
Normal file
1
dev-python/flit_scm/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST flit_scm-1.5.0.tar.bz2 3230 BLAKE2B f29f7c0cc341fe12d621d0a8f91b5d983f8f7e4259155a7119b07d8e159a12755ae60e007d1ace9054385104aa2a572454653ef9f92a3043777b1e631dfd5f20 SHA512 1b8d4a653dffb4685ad91843147ba6dc693b6d1d4f21e8766782d04edc1ec992e3ad4a3ce82d25e01a089816648f86228db75024e39a7a277b6fae9f8fc4567a
|
||||
37
dev-python/flit_scm/flit_scm-1.5.0.ebuild
Normal file
37
dev-python/flit_scm/flit_scm-1.5.0.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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}/${P}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flit_core-3.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-6.4.2[${PYTHON_USEDEP}]
|
||||
<dev-python/tomli-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e 's:==[0-9.]*::' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
10
dev-python/flit_scm/metadata.xml
Normal file
10
dev-python/flit_scm/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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>
|
||||
<upstream>
|
||||
<remote-id type="pypi">flit-scm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user