summaryrefslogtreecommitdiff
path: root/dev-python/tinydb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/tinydb
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/tinydb')
-rw-r--r--dev-python/tinydb/Manifest3
-rw-r--r--dev-python/tinydb/metadata.xml16
-rw-r--r--dev-python/tinydb/tinydb-3.1.3.ebuild36
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/tinydb/Manifest b/dev-python/tinydb/Manifest
new file mode 100644
index 000000000000..b897c6ca35a9
--- /dev/null
+++ b/dev-python/tinydb/Manifest
@@ -0,0 +1,3 @@
+DIST tinydb-3.1.3.zip 33969 BLAKE2B bece4ee03e54b2cefe2ffd9c452c1751a3a1bf9d2cdf78ffebf797ff714bced2247864d133fdc6b3ea429a4676b5322940e7847d7ddd328ebce8390fda07b0e4 SHA512 451f942f1fa38bf159cabc5b0738cb818921bf47a2159211a4048eee91a23dd734bcf3883e62d7b4ff85fa68def78edadf05d845a0ad0f3936d281e91de65ee6
+EBUILD tinydb-3.1.3.ebuild 747 BLAKE2B af50bea3d933885ab53bb55904875f2e40e1cd6f9068df82a662883a8722ed330ab516eb17f21beab46b2a0551e5d470a4ddb89ccd14dc37d0414a30c8e598b1 SHA512 a87c5a6b8a55e5e2644c57eb785d88735c72c4e694e1cc01d5d1f5baec27d3c4aa6c2f2cf0b027e75fbbe42d4a9bf71c17e359caa909dbceb25d810baf06ccc4
+MISC metadata.xml 503 BLAKE2B e6ee138e791987e95c9dba7e59d0d36fb60508c2813f53b241f33176e2ca2250b5a01abdd14bd89a61ecd917fd34bd36a8205ec09dcc6889057335ed4ede5dd5 SHA512 b0ca469363341419f635593d5ff944633b3772151d0b9361653a6d1a9dd8ecde9996d05f074b65d4297c5be73a4f7a95043cca768e4567900e315a218977d4f0
diff --git a/dev-python/tinydb/metadata.xml b/dev-python/tinydb/metadata.xml
new file mode 100644
index 000000000000..5ebab5bc994f
--- /dev/null
+++ b/dev-python/tinydb/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">tinydb</remote-id>
+ <maintainer status="unknown">
+ <email>markus@m-siemens.de</email>
+ <name>Markus Siemens</name>
+ </maintainer>
+ <remote-id type="github">msiemens/tinydb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/tinydb/tinydb-3.1.3.ebuild b/dev-python/tinydb/tinydb-3.1.3.ebuild
new file mode 100644
index 000000000000..969de752f80d
--- /dev/null
+++ b/dev-python/tinydb/tinydb-3.1.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tiny document-oriented database"
+HOMEPAGE="https://github.com/msiemens/tinydb
+ https://pypi.org/project/tinydb/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ sed \
+ -e "s:find_packages():find_packages(exclude=['tests']):g" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v -v || die
+}