mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/patch: initial import
Package-Manager: portage-2.3.2
This commit is contained in:
1
dev-python/patch/Manifest
Normal file
1
dev-python/patch/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST patch-1.16.tar.gz 161043 SHA256 03a5d8774569e2adc1863e596104889bb00f5fba99ff931383c40790bd1e5eb1 SHA512 1e8a1a05d9127db83b6f6a0d491c99543e16d5222181787ec934310ad85a3b84894691b8adf41fee16ab17f090c112fd5d57d99831b5fb29e4f9924c1069c0f4 WHIRLPOOL b210cb692fa1401dc8a7e58ee20290130a9a2fd1fa1bc8902ba09fab519b0232d0c072cf7a675568df469b8f83f5ee4f070d2ea7ad0ac812a051e5d68595a179
|
||||
11
dev-python/patch/metadata.xml
Normal file
11
dev-python/patch/metadata.xml
Normal 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>
|
||||
31
dev-python/patch/patch-1.16.ebuild
Normal file
31
dev-python/patch/patch-1.16.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user