[csw-devel] SF.net SVN: gar:[14839] csw/mgar/pkg/lang-python/pycrypto/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat Jun 18 14:43:28 CEST 2011


Revision: 14839
          http://gar.svn.sourceforge.net/gar/?rev=14839&view=rev
Author:   skayser
Date:     2011-06-18 12:43:27 +0000 (Sat, 18 Jun 2011)

Log Message:
-----------
lang-python/pycrypto/trunk: add runtime deps and license, adjust package name, drop superfluous CONFIGURE_ARGS

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/pycrypto/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/pycrypto/trunk/files/0002-Substitute-hardcoded-usr-local-bin-python.patch

Modified: csw/mgar/pkg/lang-python/pycrypto/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pycrypto/trunk/Makefile	2011-06-18 12:06:44 UTC (rev 14838)
+++ csw/mgar/pkg/lang-python/pycrypto/trunk/Makefile	2011-06-18 12:43:27 UTC (rev 14839)
@@ -23,10 +23,14 @@
 
 MASTER_SITES = http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
 DISTFILES    = $(DISTNAME).tar.gz
+LICENSE      = COPYRIGHT
+PACKAGES     = CSWpy-crypto
 
+RUNTIME_DEP_PKGS  = CSWlibgmp
+RUNTIME_DEP_PKGS += CSWlibpython2-6-1-0
+
 # c.f. https://bugs.launchpad.net/pycrypto/+bug/518871
 PATCHFILES += 0001-On-Solaris-Use-sys-inttypes.h-instead-of-stdint.h.patch
+PATCHFILES += 0002-Substitute-hardcoded-usr-local-bin-python.patch
 
-CONFIGURE_ARGS = $(DIRPATHS)
-
 include gar/category.mk

Added: csw/mgar/pkg/lang-python/pycrypto/trunk/files/0002-Substitute-hardcoded-usr-local-bin-python.patch
===================================================================
--- csw/mgar/pkg/lang-python/pycrypto/trunk/files/0002-Substitute-hardcoded-usr-local-bin-python.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pycrypto/trunk/files/0002-Substitute-hardcoded-usr-local-bin-python.patch	2011-06-18 12:43:27 UTC (rev 14839)
@@ -0,0 +1,22 @@
+From c2c98941699d20c6797d8dfd21938d0b299c5fd3 Mon Sep 17 00:00:00 2001
+From: Sebastian Kayser <skayser at opencsw.org>
+Date: Sat, 18 Jun 2011 14:27:02 +0200
+Subject: [PATCH] Substitute hardcoded /usr/local/bin/python
+
+---
+ lib/Crypto/Util/RFC1751.py |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/lib/Crypto/Util/RFC1751.py b/lib/Crypto/Util/RFC1751.py
+index 85e0e99..f25ed8f 100644
+--- a/lib/Crypto/Util/RFC1751.py
++++ b/lib/Crypto/Util/RFC1751.py
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/python
++#!/usr/bin/env python
+ # rfc1751.py : Converts between 128-bit strings and a human-readable
+ # sequence of words, as defined in RFC1751: "A Convention for
+ # Human-Readable 128-bit Keys", by Daniel L. McDonald.
+-- 
+1.7.5.4
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list