summaryrefslogtreecommitdiff
path: root/dev-python/jsonlines
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-04-07 19:27:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-04-07 19:27:49 +0000
commite19fc97550097ec038083daf59f27e6db0976d8d (patch)
tree1a47ba19bb420d34ae78dfc97d6ba17bf7f4a44b /dev-python/jsonlines
parentecfc8544d398c153d4ea1438242140d6de34b15f (diff)
downloadbaldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.tar.gz
baldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.tar.xz
baldeagleos-repo-e19fc97550097ec038083daf59f27e6db0976d8d.zip
Adding metadata
Diffstat (limited to 'dev-python/jsonlines')
-rw-r--r--dev-python/jsonlines/Manifest1
-rw-r--r--dev-python/jsonlines/jsonlines-4.0.0.ebuild35
-rw-r--r--dev-python/jsonlines/metadata.xml10
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/jsonlines/Manifest b/dev-python/jsonlines/Manifest
new file mode 100644
index 000000000000..74195a9debc4
--- /dev/null
+++ b/dev-python/jsonlines/Manifest
@@ -0,0 +1 @@
+DIST jsonlines-4.0.0.gh.tar.gz 13172 BLAKE2B 66c68591f2d04f290165a5245335700b6a8305607a16dde3cf759868ecc8aad116f7afea447684803c21692393835f97ca589b4ac519e8f7ddc459cf05d39e82 SHA512 d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275
diff --git a/dev-python/jsonlines/jsonlines-4.0.0.ebuild b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
new file mode 100644
index 000000000000..449ce59d2d6a
--- /dev/null
+++ b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
@@ -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_{8,9,10,11,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
+}
diff --git a/dev-python/jsonlines/metadata.xml b/dev-python/jsonlines/metadata.xml
new file mode 100644
index 000000000000..c5bf0930b725
--- /dev/null
+++ b/dev-python/jsonlines/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kcelbert@gmail.com</email>
+ <name>Kyle Elbert</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file