mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 00:16:59 +02:00
dev-python/more-itertools: Sync with Gentoo
It's from Gentoo commit 074b3b194a28322ad9fa287c34691beb352a7ee8.
This commit is contained in:
parent
fb74e3084f
commit
a524b3418c
@ -1,2 +1 @@
|
|||||||
DIST more-itertools-8.12.0.tar.gz 108698 BLAKE2B 2bc48aea5b8508381ac909a963d0fcbf08a17d2d96f17de1dd582bc8ced080be540322ee3f65c66eab1186d024bb2957e7bbddd62041242a7cc4cfff1ad67bc2 SHA512 73759f05d178bd6fe98cadac401707faf90a4f7b456c4aac3f0b3f6c13a2284600971e0b271f1768cacd3ae9b69848404f85432199ca51b8160fbe67045dfd17
|
DIST more-itertools-9.0.0.tar.gz 104237 BLAKE2B 523fe14889862edc2f05da79156914e12984d62168df46630fbe3169ebbe48ba66e018a65bd17dfad54676e5334335dbcda5c442556970442ccc2a792940bcc4 SHA512 a1e73a7a3e4530d070d639baa01c08d91ca11cdab6fec36131764001c2b78f1649e19ddf78ee3c1295f2f9d9951ea7483a4fd1f7c12d5655c3b696db7de35c1e
|
||||||
DIST more-itertools-8.13.0.tar.gz 101264 BLAKE2B 28c212e76f18081301c6d946e06112beb2a6a3fef3b99582d5ea98c2142e1e47b0f5300f441a4d206f5950120466212a9fde40eae53bce0098097063468f56f5 SHA512 2f3473cdd67ddcb2c658f60638b91a25c4ce9d9a92bbda5ca937dd4748857408bfe8dd9d4e699f53bd9f10d7b433db57e499bd28f184b8faa58b2004f2c92004
|
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
# Copyright 1999-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=flit
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="More routines for operating on iterables, beyond itertools"
|
|
||||||
HOMEPAGE="https://pypi.org/project/more-itertools/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs \
|
|
||||||
dev-python/sphinx_rtd_theme
|
|
||||||
distutils_enable_tests unittest
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
grep -q '\[build-system\]' pyproject.toml &&
|
|
||||||
die "Upstream added [build-system] to pyproject.toml, recheck"
|
|
||||||
# write a custom pyproject.toml to ease setuptools bootstrap
|
|
||||||
cat > pyproject.toml <<-EOF || die
|
|
||||||
[build-system]
|
|
||||||
requires = ["flit_core >=3.2,<4"]
|
|
||||||
build-backend = "flit_core.buildapi"
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "more_itertools"
|
|
||||||
version = "${PV}"
|
|
||||||
description = "More routines for operating on iterables, beyond itertools"
|
|
||||||
EOF
|
|
||||||
}
|
|
@ -1,11 +1,11 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=flit
|
DISTUTILS_USE_PEP517=flit
|
||||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@ -18,8 +18,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
distutils_enable_sphinx docs \
|
distutils_enable_sphinx docs \
|
||||||
dev-python/sphinx_rtd_theme
|
dev-python/sphinx-rtd-theme
|
||||||
distutils_enable_tests unittest
|
distutils_enable_tests unittest
|
Loading…
Reference in New Issue
Block a user