summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smithdanea@gmail.com>2011-01-18 15:37:29 -0500
committerDane Smith <smithdanea@gmail.com>2011-01-18 15:37:29 -0500
commit9591ce01c6bf9c3890480c934b04396f180d04a6 (patch)
tree38aa8b583c90f32ec1886532716653fe9e007b0c /dev-libs
parentCryptlib test. Removal of old stuff. (diff)
downloadc1pher-9591ce01c6bf9c3890480c934b04396f180d04a6.tar.gz
c1pher-9591ce01c6bf9c3890480c934b04396f180d04a6.tar.bz2
c1pher-9591ce01c6bf9c3890480c934b04396f180d04a6.zip
Take 2
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cryptlib/Manifest2
-rw-r--r--dev-libs/cryptlib/cryptlib-3.4.0.ebuild13
2 files changed, 10 insertions, 5 deletions
diff --git a/dev-libs/cryptlib/Manifest b/dev-libs/cryptlib/Manifest
index 83a9d18..5aed839 100644
--- a/dev-libs/cryptlib/Manifest
+++ b/dev-libs/cryptlib/Manifest
@@ -6,6 +6,6 @@ DIST cl340.zip 5514751 RMD160 d38cf69841942670f84e4c2d64a708f5cb3d4299 SHA1 78f7
DIST cryptlib-3.3.3-manual.pdf.bz2 1066618 RMD160 27f18912b4f0194b76ca3a9a53839ec028c2473b SHA1 a87611f8aa69117b9bc511bb6c865ab8d723a94b SHA256 a52b0a7ef4c7288442f3189e1050492fa9c6c5048a09ce5f161a2a402dd068da
DIST cryptlib-3.4.0-manual.pdf.bz2 1215921 RMD160 9070e2ed2fd748463cd06f09e22d422ce79bc0eb SHA1 bcb4f6bd558920b69a04bfd757460fc8f16afd7a SHA256 b06b736e6e123f578adcd08a8ede6cdb62e3e6d4ac2decb3570def1b29d44da8
EBUILD cryptlib-3.3.3-r1.ebuild 3479 RMD160 0d5b5c7bfebef5b5f434e28f846423dcb956c19b SHA1 1fd7f274a5de5764fb48596266efeef0582f6c55 SHA256 62399309c9bb34a8ad4ec0180042dee59e21465f3feaa10b8f1950fd6dad851b
-EBUILD cryptlib-3.4.0.ebuild 3550 RMD160 04ff695db611b16bb4643fcf3685b7bee610f598 SHA1 471e913c272cb1167d9a35e8bd0542258a0827fd SHA256 bd911ae9c28d7dbe995be8c6a534e98dff936586466fc4eca5664e90f89da8a6
+EBUILD cryptlib-3.4.0.ebuild 3735 RMD160 c0b18c6c3cb2d53558a8687e5988c7620e3e2ab8 SHA1 e43285852e5ff23d8229583204d42ada0826a669 SHA256 ab2bf10db9a061a224f3fd2269ea289fb08c4bdebadf3972b70252acf71b401a
MISC ChangeLog 5111 RMD160 c1ad631bbfeb6ddcfddcf48c77baf54af6e97b85 SHA1 66f4ba9dbc0b2b1b8e40f2546956bd5893129d57 SHA256 ce31f17d90af86c9adf395875b70b7e4af7744337e51a4e5eb698fc76401d8b9
MISC metadata.xml 217 RMD160 d1e82852b46d347f8fc7027e72959160b5ade089 SHA1 d899a6870ab5af7dfe496ae91441fb7c103556a9 SHA256 5153c83d89a45bec698ace8ba637c14762333a6ddbe7ca798af6ce19f155d759
diff --git a/dev-libs/cryptlib/cryptlib-3.4.0.ebuild b/dev-libs/cryptlib/cryptlib-3.4.0.ebuild
index 004f959..ff83774 100644
--- a/dev-libs/cryptlib/cryptlib-3.4.0.ebuild
+++ b/dev-libs/cryptlib/cryptlib-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
LICENSE="DB"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc ldap odbc python"
@@ -30,7 +30,7 @@ RDEPEND="sys-libs/zlib
DEPEND="${RDEPEND}
app-arch/unzip"
-DISTUTILS_SETUP_FILES="bindings/setup.py"
+#DISTUTILS_SETUP_FILES="bindings/setup.py"
RESTRICT_PYTHON_ABIS="3.*"
src_unpack() {
@@ -60,8 +60,9 @@ src_prepare() {
sed -i -e 's/PLV="2"/PLV="3"/' tools/buildall.sh || die "sed tools/buildall.sh failed"
#Fix where python will look for libraries
- sed -i -e 's/\.\./\./g' bindings/setup.py \
- || die "sed setup.py failed"
+# sed -i -e 's/\.\./\./g' bindings/setup.py \
+# || die "sed setup.py failed"
+ sed -i -e 's:bindings/::g' bindings/setup.py || die "sed setup.py failed"
# Respect LDFLAGS and fix soname and strip issues.
epatch "${FILESDIR}/${PN}-3.3.2-ld.patch"
@@ -107,7 +108,9 @@ src_compile() {
# Python bindings don't work with -O2 and higher.
replace-flags -O* -O1
+ pushd bindings > /dev/null
distutils_src_compile
+ popd > /dev/null
fi
}
@@ -120,7 +123,9 @@ src_install() {
doins cryptlib.h || die
if use python; then
+ pushd bindings > /dev/null
distutils_src_install
+ popd > /dev/null
fi
dodoc README || die