diff mbox

python-pycrypto: ignore LICENSE.orig for the moment

Message ID 1387731898-14058-1-git-send-email-thomas.petazzoni@free-electrons.com
State Superseded
Headers show

Commit Message

Thomas Petazzoni Dec. 22, 2013, 5:04 p.m. UTC
LICENSE.orig gets removed from the source tree by the apply-patches.sh
script. Until this is fixed in apply-patches.sh, remove LICENSE.orig
from <pkg>_LICENSE_FILES to fix the autobuilder issues.

Fixes:

  http://autobuild.buildroot.org/results/122/1225850e3c3a95021403adae1db1d34f9f3e955b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/python-pycrypto/python-pycrypto.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Yann E. MORIN Dec. 22, 2013, 9:07 p.m. UTC | #1
Thomas, All,

On 2013-12-22 18:04 +0100, Thomas Petazzoni spake thusly:
> LICENSE.orig gets removed from the source tree by the apply-patches.sh
> script. Until this is fixed in apply-patches.sh, remove LICENSE.orig
> from <pkg>_LICENSE_FILES to fix the autobuilder issues.

Can't we have a post-extract hook that renames that file, so we can add
it to the legal-info?

Regards,
Yann E. MORIN.
Thomas Petazzoni Dec. 23, 2013, 7:48 a.m. UTC | #2
Dear Yann E. MORIN,

On Sun, 22 Dec 2013 22:07:59 +0100, Yann E. MORIN wrote:

> On 2013-12-22 18:04 +0100, Thomas Petazzoni spake thusly:
> > LICENSE.orig gets removed from the source tree by the apply-patches.sh
> > script. Until this is fixed in apply-patches.sh, remove LICENSE.orig
> > from <pkg>_LICENSE_FILES to fix the autobuilder issues.
> 
> Can't we have a post-extract hook that renames that file, so we can add
> it to the legal-info?

Yes, that would be an option.

Thomas
diff mbox

Patch

diff --git a/package/python-pycrypto/python-pycrypto.mk b/package/python-pycrypto/python-pycrypto.mk
index eda48bd..9d9d77e 100644
--- a/package/python-pycrypto/python-pycrypto.mk
+++ b/package/python-pycrypto/python-pycrypto.mk
@@ -10,8 +10,12 @@  PYTHON_PYCRYPTO_SITE = http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto
 PYTHON_PYCRYPTO_SETUP_TYPE = distutils
 
 PYTHON_PYCRYPTO_LICENSE = Public Domain, Python 2.2 License (HMAC.py, setup.py)
+
+# LEGAL/copy/LICENSE.orig should also be part of LICENSE_FILES below,
+# but our apply-patches.sh script removes all .orig files. Until this
+# is fixed, ignore LICENSE.orig.
 PYTHON_PYCRYPTO_LICENSE_FILES = COPYRIGHT LEGAL/copy/LICENSE.libtom \
-		LEGAL/copy/LICENSE.orig LEGAL/copy/LICENSE.python-2.2
+		LEGAL/copy/LICENSE.python-2.2
 
 PYTHON_PYCRYPTO_DEPENDENCIES = gmp