diff options
Diffstat (limited to 'dev-python/sqlitedict')
-rw-r--r-- | dev-python/sqlitedict/Manifest | 3 | ||||
-rw-r--r-- | dev-python/sqlitedict/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/sqlitedict/sqlitedict-1.7.0.ebuild | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/sqlitedict/Manifest b/dev-python/sqlitedict/Manifest new file mode 100644 index 000000000000..b08d7f7923a4 --- /dev/null +++ b/dev-python/sqlitedict/Manifest @@ -0,0 +1,3 @@ +DIST sqlitedict-1.7.0.tar.gz 28234 BLAKE2B f67187ee27acbe5525b5f0efb8fd85b68e820439e273af8f9ac4e2f223a2c267f252cb0d60366bd51ba9b55cf36d892e02bdfe727a366bfd266005d98d477c9f SHA512 1ef5e0caf81f7ac17eac0d8573c3404ea043c0c5700fe6b4b9f28ac86ad8d97416bad561318898967cf1af0d7e616684ee3044018e24dab3686d43554c74fef1 +EBUILD sqlitedict-1.7.0.ebuild 598 BLAKE2B e94a2c7e67922e65198e6cb9a3fe79054b9dfd3877c8a59a630753f28d03a44cad8084ea6c1a6aa9a26481a6a53cfa49a36131c2d05dedcf4e4d40bc32937671 SHA512 91dfc5f57c402d601c464ff09665622374165394f90cdee6a070320787e1be4d2e01107b5e6a53ab97ea4d700fbc1574bb8ff2398097b5c06a68a1d183be86fd +MISC metadata.xml 381 BLAKE2B 4ec66462c1f2882e0d9b14d5383b1c5f63db7f98dfe89b1107229b09850714dfaa0eeeb52d2c2e3e680a0eed0646a44796907c7f1183e2486b42d6b18ad00d40 SHA512 ca83b3fc874ff355ff70f410ce448e19813b891dca85f51787f1c10044e76069eb473fe9329d38ca04991a9523c695cdc2507f28f6a37728076bd2bed222279c diff --git a/dev-python/sqlitedict/metadata.xml b/dev-python/sqlitedict/metadata.xml new file mode 100644 index 000000000000..e0f2a7f3644b --- /dev/null +++ b/dev-python/sqlitedict/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <upstream> + <remote-id type="github">piskvorky/sqlitedict</remote-id> + <remote-id type="pypi">sqlitedict</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sqlitedict/sqlitedict-1.7.0.ebuild b/dev-python/sqlitedict/sqlitedict-1.7.0.ebuild new file mode 100644 index 000000000000..c73539a86fbe --- /dev/null +++ b/dev-python/sqlitedict/sqlitedict-1.7.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Persistent dict in Python, backed by SQLite and pickle" +HOMEPAGE="https://github.com/piskvorky/sqlitedict" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +DOCS=( + README.rst +) + +python_test() { + rm -f tests/db/* || die + py.test -v || die +} |