dev-python/patch: initial import
authorSébastien Fabbro <bicatali@gentoo.org>
Mon, 24 Oct 2016 23:28:13 +0000 (23:28 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Sat, 29 Oct 2016 00:42:27 +0000 (00:42 +0000)
Package-Manager: portage-2.3.2

dev-python/patch/Manifest [new file with mode: 0644]
dev-python/patch/metadata.xml [new file with mode: 0644]
dev-python/patch/patch-1.16.ebuild [new file with mode: 0644]

diff --git a/dev-python/patch/Manifest b/dev-python/patch/Manifest
new file mode 100644 (file)
index 0000000..de28dce
--- /dev/null
@@ -0,0 +1 @@
+DIST patch-1.16.tar.gz 161043 SHA256 03a5d8774569e2adc1863e596104889bb00f5fba99ff931383c40790bd1e5eb1 SHA512 1e8a1a05d9127db83b6f6a0d491c99543e16d5222181787ec934310ad85a3b84894691b8adf41fee16ab17f090c112fd5d57d99831b5fb29e4f9924c1069c0f4 WHIRLPOOL b210cb692fa1401dc8a7e58ee20290130a9a2fd1fa1bc8902ba09fab519b0232d0c072cf7a675568df469b8f83f5ee4f070d2ea7ad0ac812a051e5d68595a179
diff --git a/dev-python/patch/metadata.xml b/dev-python/patch/metadata.xml
new file mode 100644 (file)
index 0000000..40b3669
--- /dev/null
@@ -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="github">techtonik/patch</remote-id>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-python/patch/patch-1.16.ebuild b/dev-python/patch/patch-1.16.ebuild
new file mode 100644 (file)
index 0000000..7c917cc
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit python-r1
+
+DESCRIPTION="Library to parse and apply unified diffs"
+HOMEPAGE="https://github.com/techtonik/python-patch/"
+SRC_URI="https://github.com/techtonik/python-patch/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/python-${P}"
+
+src_test() {
+       python_foreach_impl tests/run_tests.py
+}
+
+src_install() {
+       default
+       python_foreach_impl python_doexe patch.py
+}