commit: 40c090269df19d22445fd840215c4445f98296e6
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Mar 27 05:50:09 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Mar 27 05:50:09 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=40c09026
dev-python/json_tricks: new package
dependency of upcoming sci-biology/psychopy version
2020.1.3
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/json_tricks/json_tricks-3.14.0.ebuild | 25 +++++++++++++++++++++++
dev-python/json_tricks/metadata.xml | 26 ++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-python/json_tricks/json_tricks-3.14.0.ebuild
b/dev-python/json_tricks/json_tricks-3.14.0.ebuild
new file mode 100644
index 000000000..750faed73
--- /dev/null
+++ b/dev-python/json_tricks/json_tricks-3.14.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+MY_HASH="895ef50d8d9882e8030005103a205b2b5f169721ac5b3f265847da07729f"
+
+DESCRIPTION="Extra features for Python's JSON"
+HOMEPAGE="https://github.com/mverleg/pyjson_tricks"
+SRC_URI="mirror://pypi/../be/05/${MY_HASH}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND=""
+
+DEPEND=""
+
+distutils_enable_tests pytest
diff --git a/dev-python/json_tricks/metadata.xml
b/dev-python/json_tricks/metadata.xml
new file mode 100644
index 000000000..f833d4463
--- /dev/null
+++ b/dev-python/json_tricks/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Horea Christian</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The json-tricks package brings several pieces of functionality
to
+ Python handling of json files: (1) Store and load numpy arrays
in
+ human-readable format; (2) Store and load class instances both
+ generic and customized; (3) Store and load date/times as a
+ dictionary (including timezone); (4) Preserve map order {} using
+ OrderedDict; (5) Allow for comments in json files by starting
lines
+ with #; (6) Sets, complex numbers, Decimal, Fraction, enums,
+ compression, duplicate keys, pathlib Paths ...
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">json-tricks</remote-id>
+ </upstream>
+</pkgmetadata>
+