diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-18 22:31:30 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-18 22:31:30 +0000 |
commit | 904dd56a03aabf6bb03d4c7b3ffed49661b1b605 (patch) | |
tree | 99a0f33477a8895a8f84c0b92a01fce031dfaee0 /dev-python | |
parent | Version bump. (diff) | |
download | historical-904dd56a03aabf6bb03d4c7b3ffed49661b1b605.tar.gz historical-904dd56a03aabf6bb03d4c7b3ffed49661b1b605.tar.bz2 historical-904dd56a03aabf6bb03d4c7b3ffed49661b1b605.zip |
Initial import
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygit2/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pygit2/Manifest | 19 | ||||
-rw-r--r-- | dev-python/pygit2/files/pygit2-0.14.0-fix-write.patch | 25 | ||||
-rw-r--r-- | dev-python/pygit2/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/pygit2/pygit2-0.14.0.ebuild | 34 |
5 files changed, 97 insertions, 0 deletions
diff --git a/dev-python/pygit2/ChangeLog b/dev-python/pygit2/ChangeLog new file mode 100644 index 000000000000..5cc4ed56265b --- /dev/null +++ b/dev-python/pygit2/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/pygit2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygit2/ChangeLog,v 1.1 2011/08/18 22:31:30 radhermit Exp $ + +*pygit2-0.14.0 (18 Aug 2011) + + 18 Aug 2011; Tim Harder <radhermit@gentoo.org> +pygit2-0.14.0.ebuild, + +files/pygit2-0.14.0-fix-write.patch, +metadata.xml: + Initial import + diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest new file mode 100644 index 000000000000..26bed4ce0193 --- /dev/null +++ b/dev-python/pygit2/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX pygit2-0.14.0-fix-write.patch 564 RMD160 5b36dec59621f5fe0c0ddb592529020661b898ad SHA1 9b566033b073ed6f9122588f36fb6301ba925579 SHA256 e79f4efab64be25dee49692b7a61be363263a6b89cb23c1da16d58ee0d36190d +DIST pygit2-0.14.0.tar.gz 38751 RMD160 20689405f7c2b3807744884c2e08ba6576a493ab SHA1 b2221dec306136c086410cb14868fa8409a7a911 SHA256 e7c8be6b54aee23470bdff9471046338d6392257dde4279f30e7228d198a87e0 +EBUILD pygit2-0.14.0.ebuild 805 RMD160 f7d72bf85b9efc590a921075e544f165b7622336 SHA1 ee24b1a92a0ccf77fcc46ee692f8be869b6781e6 SHA256 fa630a40301006ef27497cc7286b1da24c8fa23e16c652468c3dcf0dc6e7b370 +MISC ChangeLog 385 RMD160 f80576ba660375a6e477e6facec970413e02cbfb SHA1 cabc2428f589e008faf43130378b50925a8b9376 SHA256 55d7c1c16711904885999b6dd5c0ad6ae4db00b478113a478fc6236b6cdcb69c +MISC metadata.xml 253 RMD160 6dfd64b8259be428652e27eb11d5854169e90f3d SHA1 b0793de863ae3e9c6d5903b9dc28701371de36d1 SHA256 9f2f51fd5d49ee6b0ef785dd7256455213e0e18e37f23b498cfee07dc1efac7f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBCgAGBQJOTZLLAAoJEEqz6FtPBkyjTFQH/jHJXPD4pkxqO4l1OqKybe1W +fpzGRxpufptGwu+Q0raIr+sSJN61pXn2esBqS6PBZtpmlB9dtw5+3Z8sb5Q+t/lO +5G0QNHF1HDIauF4tVzjUeCtqzSr5vr6oPAYYbxvb0QtcD+LoOuPN55Vqfs5OYmlJ +GzC+3hI32Ik4BpB/e9GgvQZ5KmpH2K6ctetkxuj0an3atX0ltmNU6x9N1ppfo3kJ +AWURcfrE04v4zfcG+QRvoezsZygfBi3TUeyMCMyKMER6gIDto2erSm3QJBfsYWR9 +356boQkuyPN8lz2siKcDYdS7yBXPsZO+EFK7XfivdykyQ0VpKl58XCMcfDeo+Sw= +=0Q/a +-----END PGP SIGNATURE----- diff --git a/dev-python/pygit2/files/pygit2-0.14.0-fix-write.patch b/dev-python/pygit2/files/pygit2-0.14.0-fix-write.patch new file mode 100644 index 000000000000..5b4aae1e4d97 --- /dev/null +++ b/dev-python/pygit2/files/pygit2-0.14.0-fix-write.patch @@ -0,0 +1,25 @@ +From 4e9a34b8703bda7ff54bc45c7a7de21c1562888a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?"J.=20David=20Ib=C3=A1=C3=B1ez"?= <jdavid.ibp@gmail.com> +Date: Thu, 18 Aug 2011 01:26:09 +0200 +Subject: [PATCH] Fix segfault on Repository_write + +This likely fixes issue #44 +--- + pygit2.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/pygit2.c b/pygit2.c +index 7cc0890..1fd016f 100644 +--- a/pygit2.c ++++ b/pygit2.c +@@ -26,6 +26,7 @@ + * Boston, MA 02110-1301, USA. + */ + ++#define PY_SSIZE_T_CLEAN + #include <Python.h> + #include <git2.h> + +-- +1.7.6 + diff --git a/dev-python/pygit2/metadata.xml b/dev-python/pygit2/metadata.xml new file mode 100644 index 000000000000..9300f12fbb80 --- /dev/null +++ b/dev-python/pygit2/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pygit2/pygit2-0.14.0.ebuild b/dev-python/pygit2/pygit2-0.14.0.ebuild new file mode 100644 index 000000000000..050a9bb21c66 --- /dev/null +++ b/dev-python/pygit2/pygit2-0.14.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygit2/pygit2-0.14.0.ebuild,v 1.1 2011/08/18 22:31:30 radhermit Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils eutils + +DESCRIPTION="Python bindings for libgit2" +HOMEPAGE="https://github.com/libgit2/pygit2" +SRC_URI="https://github.com/libgit2/${PN}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="~dev-libs/libgit2-${PV} + dev-libs/openssl + sys-libs/zlib" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-fix-write.patch +} |