summaryrefslogtreecommitdiff
path: root/dev-python/python-oembed
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/python-oembed
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/python-oembed')
-rw-r--r--dev-python/python-oembed/Manifest3
-rw-r--r--dev-python/python-oembed/metadata.xml11
-rw-r--r--dev-python/python-oembed/python-oembed-0.2.4.ebuild27
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/python-oembed/Manifest b/dev-python/python-oembed/Manifest
new file mode 100644
index 000000000000..154fc5d65753
--- /dev/null
+++ b/dev-python/python-oembed/Manifest
@@ -0,0 +1,3 @@
+DIST python-oembed-0.2.4.tar.gz 7981 BLAKE2B d31df9c67fb51e2ddd624a8aa8cf7d844262c357508d412f9b93763ac85c48384b12e73b5ebf74a8e2da4f0547710e35e47a7c2b8c4862994f95be6e667de943 SHA512 9eaae818e17fcfed2e53e7f730ff6837b3ec55bf977892dc05c79846b0afe6a3b6808e046ac8e41bfca587de07d1be40343d6b0df1a502418990e9bdb8d81abe
+EBUILD python-oembed-0.2.4.ebuild 685 BLAKE2B d81c92a327d25f16938bf7393a42d770040bd5e2c7de7ba74217effcf676f18bf337c62fac70bab4b95278298acf39dd161a91ea5e6b9ab805819fce2f208446 SHA512 d4c420e1101910d4215609714ab78fbb2591f35151c94214bc0faaf67c85cae23bcee68bf311fe4fafaa3a3ff76285c76c466294cc2982852cbec2ecf1103d9b
+MISC metadata.xml 326 BLAKE2B 891071bd7c3dad3fa3fc93e14ae0a698bd139716db3f2669d7445415a6a24cb5b4473eb3a81074f4efa080be6d32f9141811c6f23a9f9e6310c79976fab47ce2 SHA512 501b084afb50bfdcd4a18fd9ad3e14d394fb6e7c33c6afb41c61345413dd976b5b56af25b4b77e1e43fddabedd152efe8dfd5310a0c2d5d05fd8dc57eb4a6d18
diff --git a/dev-python/python-oembed/metadata.xml b/dev-python/python-oembed/metadata.xml
new file mode 100644
index 000000000000..334a97be4e3e
--- /dev/null
+++ b/dev-python/python-oembed/metadata.xml
@@ -0,0 +1,11 @@
+<?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">python-oembed</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-oembed/python-oembed-0.2.4.ebuild b/dev-python/python-oembed/python-oembed-0.2.4.ebuild
new file mode 100644
index 000000000000..8947e78934db
--- /dev/null
+++ b/dev-python/python-oembed/python-oembed-0.2.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python library that implements an OEmbed consumer"
+HOMEPAGE="https://pypi.org/project/python-oembed/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+# all tests access network, also assume that localhost will have
+# no HTTP server running (which is extremely silly)
+RESTRICT="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND=""
+
+python_test() {
+ nosetests || die "tests failed"
+}