dev-python/patch: initial import

Package-Manager: portage-2.3.2
This commit is contained in:
Sébastien Fabbro
2016-10-24 23:28:13 +00:00
parent ecae768093
commit 97c6414031
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST patch-1.16.tar.gz 161043 SHA256 03a5d8774569e2adc1863e596104889bb00f5fba99ff931383c40790bd1e5eb1 SHA512 1e8a1a05d9127db83b6f6a0d491c99543e16d5222181787ec934310ad85a3b84894691b8adf41fee16ab17f090c112fd5d57d99831b5fb29e4f9924c1069c0f4 WHIRLPOOL b210cb692fa1401dc8a7e58ee20290130a9a2fd1fa1bc8902ba09fab519b0232d0c072cf7a675568df469b8f83f5ee4f070d2ea7ad0ac812a051e5d68595a179

View File

@@ -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>

View File

@@ -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
}