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 | eb1b6d71f22dea58530f27697a9acee3092874b1 (patch) | |
tree | b9ca24c52aae37cf47e9779520aeca125fe829df /dev-python/pygit2 | |
parent | Version bump. (diff) | |
download | gentoo-2-eb1b6d71f22dea58530f27697a9acee3092874b1.tar.gz gentoo-2-eb1b6d71f22dea58530f27697a9acee3092874b1.tar.bz2 gentoo-2-eb1b6d71f22dea58530f27697a9acee3092874b1.zip |
Initial import
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygit2')
-rw-r--r-- | dev-python/pygit2/ChangeLog | 10 | ||||
-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 |
4 files changed, 78 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/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 +} |