summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 14:50:15 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 15:39:10 +0200
commite619d4749537a78f97b343e22c3bcbe7b07a5bd5 (patch)
tree548bf682994aa605a3aed010971a9e8cd82263f5 /dev-python/json5
parentdev-python/nbclassic: import from ::sci (diff)
downloadgentoo-e619d4749537a78f97b343e22c3bcbe7b07a5bd5.tar.gz
gentoo-e619d4749537a78f97b343e22c3bcbe7b07a5bd5.tar.bz2
gentoo-e619d4749537a78f97b343e22c3bcbe7b07a5bd5.zip
dev-python/json5: import from ::sci
Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/json5')
-rw-r--r--dev-python/json5/Manifest1
-rw-r--r--dev-python/json5/json5-0.9.6.ebuild19
-rw-r--r--dev-python/json5/metadata.xml13
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/json5/Manifest b/dev-python/json5/Manifest
new file mode 100644
index 000000000000..5556fd234b47
--- /dev/null
+++ b/dev-python/json5/Manifest
@@ -0,0 +1 @@
+DIST json5-0.9.6.tar.gz 109927 BLAKE2B 91e01250a6a4bb3f2f8baa6a425b0721fac3888366c36de7aeed3f82123a48d91b06a1fb7458ef93f99a9bbf9f6b81e7d665a64f52652c495df99bb7af0d5cfd SHA512 6e1d8bc602ab7a13e4b495dc27df438b55f7474284af3a828f3fcae51f4b595e5a7d3be9693cdea4930721e2205db966392ba154d7b80ba7b9b6c9a7c0e7f7af
diff --git a/dev-python/json5/json5-0.9.6.ebuild b/dev-python/json5/json5-0.9.6.ebuild
new file mode 100644
index 000000000000..80f247d89250
--- /dev/null
+++ b/dev-python/json5/json5-0.9.6.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python implementation of the JSON5 data format"
+HOMEPAGE="https://github.com/dpranke/pyjson5"
+SRC_URI="https://github.com/dpranke/pyjson5/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/py${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
diff --git a/dev-python/json5/metadata.xml b/dev-python/json5/metadata.xml
new file mode 100644
index 000000000000..252d0d5fd83c
--- /dev/null
+++ b/dev-python/json5/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">json5</remote-id>
+ <remote-id type="github">dpranke/pyjson5</remote-id>
+ </upstream>
+</pkgmetadata>