summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-21 16:58:46 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-21 17:17:39 +0200
commit859b67aac39070fea22f9ac2bd37994aee350b5f (patch)
tree467f2deea8748f2a8d7663eae373970dcf387b6d
parent087aa3ad7e216ce466528ddc600ebffc2f6721aa (diff)
downloadgentoo-859b67aac39070fea22f9ac2bd37994aee350b5f.tar.gz
gentoo-859b67aac39070fea22f9ac2bd37994aee350b5f.tar.xz
dev-python/et_xmlfile: New package, ebuild written by me
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--dev-python/et_xmlfile/Manifest1
-rw-r--r--dev-python/et_xmlfile/et_xmlfile-1.0.0.ebuild28
-rw-r--r--dev-python/et_xmlfile/metadata.xml5
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/et_xmlfile/Manifest b/dev-python/et_xmlfile/Manifest
new file mode 100644
index 00000000000..221fdfc6fb2
--- /dev/null
+++ b/dev-python/et_xmlfile/Manifest
@@ -0,0 +1 @@
+DIST et_xmlfile-1.0.0.tar.gz 7682 SHA256 727fd43a5fe7af1087c4fe6d610c24f87dc6283b914ea0f3f2d05c82de0dda96 SHA512 498b5de336cb8b0f538def60c22f565560f6cb800a5caab84ca1f51c558b79503abb1b3dc8be7419595867e549da5dd9f0f725aff873dc04c0749b9344ac021c WHIRLPOOL c4f798cd3adcd41376f1befae53a42db915bc1a8d1040eaa4776123d6d31fef7939d09644c03290b8dde07725e1177eea053697b09d675c1c4a4bdca097c9b48
diff --git a/dev-python/et_xmlfile/et_xmlfile-1.0.0.ebuild b/dev-python/et_xmlfile/et_xmlfile-1.0.0.ebuild
new file mode 100644
index 00000000000..c497eaabd17
--- /dev/null
+++ b/dev-python/et_xmlfile/et_xmlfile-1.0.0.ebuild
@@ -0,0 +1,28 @@
+# 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="An implementation of lxml.xmlfile for the standard library"
+HOMEPAGE="https://pypi.python.org/pypi/et_xmlfile https://bitbucket.org/openpyxl/et_xmlfile"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+python_test() {
+ py.test -vv || die
+}
diff --git a/dev-python/et_xmlfile/metadata.xml b/dev-python/et_xmlfile/metadata.xml
new file mode 100644
index 00000000000..ee7e8b2450a
--- /dev/null
+++ b/dev-python/et_xmlfile/metadata.xml
@@ -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>