dev-python/pathlib2: Revived package w/ new upstream, v2.3.7_p1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-09-03 13:24:16 +02:00
parent 58e5e45f77
commit b25d4871e3
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pathlib2-2.3.7-post1.gh.tar.gz 39281 BLAKE2B 71448eeb24cc149eb540b5b2f5f39cb1c7273ecbe9491eb049e8e1a721db4bde478bcd6cfadc7bc954c924eb26f1c5950fd4a8c5503a87dc3faec7866a23d0a8 SHA512 8eef6dcbd4b264365499ad0b53321fb1dce3b56377e91288a9d2b769775f9d697736e1136fe43d17147b8539fdad666e9b1f5fc22ecc63a601ce87434ba6aab1

View File

@@ -0,0 +1,13 @@
<?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>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">pathlib2</remote-id>
<remote-id type="github">jazzband/pathlib2</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
# this is a backport, please do not add newer impls unless necessary
PYTHON_COMPAT=( pypy3 python3_{8..9} )
inherit distutils-r1
MY_P=${P/_p/-post}
DESCRIPTION="Backport of pathlib aiming to support the full stdlib Python API"
HOMEPAGE="
https://pypi.org/project/pathlib2/
https://github.com/jazzband/pathlib2/
"
SRC_URI="
https://github.com/jazzband/pathlib2/archive/${PV/_p/-post}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest