summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-01-24 23:07:36 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-01-24 23:07:36 +0000
commit5887db76f45478ec8ef851f0f552a0b91b2c2661 (patch)
tree9486be1c47efb4193b226ad0ea89adfd08681bb2 /dev-libs/beecrypt
parentadded pre16 for 2.6 kernels (temporary work-around in ewarn) (diff)
downloadhistorical-5887db76f45478ec8ef851f0f552a0b91b2c2661.tar.gz
historical-5887db76f45478ec8ef851f0f552a0b91b2c2661.tar.bz2
historical-5887db76f45478ec8ef851f0f552a0b91b2c2661.zip
added patch for python2.3, thanks to Vaclav Slavik (#39282)
Diffstat (limited to 'dev-libs/beecrypt')
-rw-r--r--dev-libs/beecrypt/ChangeLog7
-rw-r--r--dev-libs/beecrypt/Manifest5
-rw-r--r--dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild6
-rw-r--r--dev-libs/beecrypt/files/beecrypt-3.1.0-python2.3.patch25
4 files changed, 38 insertions, 5 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index da3e5a3ed903..a26354f404cf 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/beecrypt
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.11 2004/01/15 19:02:06 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.12 2004/01/24 23:07:36 liquidx Exp $
+
+ 24 Jan 2004; Alastair Tse <liquidx@gentoo.org> beecrypt-3.1.0-r1.ebuild,
+ files/beecrypt-3.1.0-python2.3.patch:
+ added patch for python2.3, thanks to Vaclav Slavik <vaclav.slavik@matfyz.cz>
+ (#39282)
15 Jan 2004; <agriffis@gentoo.org> beecrypt-3.1.0-r1.ebuild:
stable on alpha and ia64
diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest
index 7b7d16aebf65..4b20e2be029e 100644
--- a/dev-libs/beecrypt/Manifest
+++ b/dev-libs/beecrypt/Manifest
@@ -1,6 +1,7 @@
-MD5 75280fc3158b196f334fd588b1866c05 ChangeLog 2009
-MD5 35bdab8dd85c567652cd548c3ffee55d beecrypt-3.1.0-r1.ebuild 1326
+MD5 3bfe1364ddb4e79f5988b864d48dbfb9 ChangeLog 2214
+MD5 3dbb933c0c9459ae2f92255b20bbfe15 beecrypt-3.1.0-r1.ebuild 1409
MD5 76a71f4dabbf3e9dcf9a2648292d9d74 beecrypt-3.1.0.ebuild 869
MD5 9801ec0e3201addd45f08dea31ac5324 files/beecrypt-3.1.0-alpha.patch 321
+MD5 a1ec8219f4c2e7e3185f2cd869ddae33 files/beecrypt-3.1.0-python2.3.patch 769
MD5 1c56cad20612ef6cbb3d1b56fa3c0b2e files/digest-beecrypt-3.1.0 66
MD5 1c56cad20612ef6cbb3d1b56fa3c0b2e files/digest-beecrypt-3.1.0-r1 66
diff --git a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
index fdfda1a1d649..f55851bc23d7 100644
--- a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
+++ b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.5 2004/01/15 19:02:06 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.6 2004/01/24 23:07:36 liquidx Exp $
DESCRIPTION="Beecrypt is a general-purpose cryptography library."
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
@@ -10,7 +10,7 @@ LICENSE="LGPL-2"
KEYWORDS="~x86 ~ppc ~sparc alpha ~amd64 ia64"
SLOT="0"
-DEPEND="python? ( =dev-lang/python-2.2* )
+DEPEND="python? ( >=dev-lang/python-2.2 )
!<app-arch/rpm-4.2.1"
IUSE="python"
@@ -28,6 +28,8 @@ src_unpack() {
# (11 Nov 2003 agriffis)
epatch ${FILESDIR}/beecrypt-3.1.0-alpha.patch
fi
+ # fix for python paths (#39282)
+ epatch ${FILESDIR}/beecrypt-3.1.0-python2.3.patch
}
src_compile() {
diff --git a/dev-libs/beecrypt/files/beecrypt-3.1.0-python2.3.patch b/dev-libs/beecrypt/files/beecrypt-3.1.0-python2.3.patch
new file mode 100644
index 000000000000..7b92fdecfe0e
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-3.1.0-python2.3.patch
@@ -0,0 +1,25 @@
+diff -ru beecrypt.orig/python/Makefile.in beecrypt/python/Makefile.in
+--- beecrypt.orig/python/Makefile.in 2003-08-17 08:57:46.000000000 +0200
++++ beecrypt/python/Makefile.in 2004-01-24 21:32:32.000000000 +0100
+@@ -163,11 +163,11 @@
+
+ LINT = splint
+
+-PYVER = 2.2
++PYVER = $(shell python -c 'import sys; print ".".join(sys.version.split()[0].split(".")[0:2])')
+
+ SUBDIRS = test
+
+-pylibdir = $(shell python -c 'import sys; print sys.path[1]')
++pythondir = $(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1,0)')
+ pyincdir = $(prefix)/include/python${PYVER}
+
+ EXTRA_DIST = debug-py.c
+@@ -183,7 +183,6 @@
+
+ LDADD =
+
+-pythondir = $(pylibdir)/site-packages
+ python_LTLIBRARIES = _bc.la
+
+ _bc_la_SOURCES = _bc-py.c mpw-py.c rng-py.c