dev-python/pytidylib: Import from last hope overlay
authorJustin Lecher <jlec@gentoo.org>
Tue, 27 Oct 2015 08:53:03 +0000 (09:53 +0100)
committerJustin Lecher <jlec@gentoo.org>
Tue, 27 Oct 2015 09:04:04 +0000 (10:04 +0100)
initial ebuild written by ercpe

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pytidylib/Manifest [new file with mode: 0644]
dev-python/pytidylib/metadata.xml [new file with mode: 0644]
dev-python/pytidylib/pytidylib-0.2.4.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytidylib/Manifest b/dev-python/pytidylib/Manifest
new file mode 100644 (file)
index 0000000..049365a
--- /dev/null
@@ -0,0 +1 @@
+DIST pytidylib-0.2.4.tar.gz 86650 SHA256 0af07bd8ebd256af70ca925ada9337faf16d85b3072624f975136a5134150ab6 SHA512 443e9af0fd458d4f041e3b72415839838a4edc83f8a978e5cc0bdf53202584e269f1ad5df10967d8ae4b98b24dcffcf9f5a54e0e3f6cd620a8a6a20171da0811 WHIRLPOOL c2b4665982333001a44592e7b80ae69926c6e9e1ad0c5f78eb89a1fb3d0f6e80dc1687b34f8f643ce93dc32c521886e0a010b9d63f71e3b98c65b61c5dad7328
diff --git a/dev-python/pytidylib/metadata.xml b/dev-python/pytidylib/metadata.xml
new file mode 100644 (file)
index 0000000..ee7e8b2
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pytidylib/pytidylib-0.2.4.ebuild b/dev-python/pytidylib/pytidylib-0.2.4.ebuild
new file mode 100644 (file)
index 0000000..cc9bca4
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper for HTML Tidy (tidylib)"
+HOMEPAGE="http://countergram.com/open-source/pytidylib https://github.com/countergram/pytidylib"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="app-text/htmltidy"
+DEPEND="${RDEPEND}
+       test? ( dev-python/pytest )"
+
+python_test() {
+       py.test -vv || die
+}