From: Michael Tremer Date: Fri, 1 Oct 2010 21:16:44 +0000 (+0200) Subject: python: Move some needed files to main package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a72bb39ef94652f5e283e8184a002b8ca338be66;p=ipfire-3.x.git python: Move some needed files to main package. --- diff --git a/pkgs/core/python/python.nm b/pkgs/core/python/python.nm index 44a60ae7b..fea6bdd26 100644 --- a/pkgs/core/python/python.nm +++ b/pkgs/core/python/python.nm @@ -50,6 +50,10 @@ PKG_TARBALL = $(THISAPP).tgz PKG_PACKAGES += $(PKG_NAME_REAL)-devel +PKG_FILES-$(PKG_NAME_REAL)-devel += \ + !/usr/lib/python*/config/Makefile \ + !/usr/include/python*/pyconfig.h + export CFLAGS += -D_GNU_SOURCE -fwrapv export CPPFLAGS = $(shell pkg-config --cflags-only-I libffi) @@ -81,8 +85,6 @@ endef define STAGE_INSTALL cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) - rm -rf $(BUILDROOT)/usr/lib/python*/test/ - # All *.py files don't need to be executeable... find $(BUILDROOT)/usr/lib/python*/ -name "*.py" | xargs chmod a-x -v endef