mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/jsonlines: new package, add 4.0.0
Signed-off-by: Kyle Elbert <kcelbert@gmail.com>
This commit is contained in:
1
dev-python/jsonlines/Manifest
Normal file
1
dev-python/jsonlines/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST jsonlines-4.0.0.gh.tar.gz 13172 BLAKE2B 66c68591f2d04f290165a5245335700b6a8305607a16dde3cf759868ecc8aad116f7afea447684803c21692393835f97ca589b4ac519e8f7ddc459cf05d39e82 SHA512 d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275
|
||||
35
dev-python/jsonlines/jsonlines-4.0.0.ebuild
Normal file
35
dev-python/jsonlines/jsonlines-4.0.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517="setuptools"
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library with helpers for the jsonlines file format"
|
||||
HOMEPAGE="https://pypi.org/project/jsonlines/"
|
||||
#SRC_URI="https://files.pythonhosted.org/packages/90/cd/0beacbcfdf9b3af9e7c615cb3dba7ec4be1030d4b283e3c9717e3fd9af3c/jsonlines-1.2.0.tar.gz"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/wbolster/jsonlines"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
# tests not distributed through pypi mirror
|
||||
# SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/wbolster/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
fi
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="mirror" #overlay, no real issue
|
||||
RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
|
||||
BDEPEND=" test? ( ${RDEPEND} )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
sed -r -e "/packages *=/ s|\[[^]]*\]\+||" -i -- setup.py
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
12
dev-python/jsonlines/metadata.xml
Normal file
12
dev-python/jsonlines/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>kcelbert@gmail.com</email>
|
||||
<name>Kyle Elbert</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">wbolster/jsonlines</remote-id>
|
||||
<remote-id type="pypi">jsonlines</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user