Skip to contentSkip to conversation

python-pycrypto: fix build error

PATCH New Armin Kuster 1 participant 1 message Jul 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pycrypto: fix build error

| DEBUG: Executing shell function do_compile
| make: *** No targets specified and no makefile found. Stop.

add null do_compile

---
 recipes-devtools/python/python-pycrypto_2.6.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-devtools/python/python-pycrypto_2.6.1.bb +3 -1
index a2ad4d1..8036158 100644
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 export STAGING_INCDIR
 export STAGING_LIBDIR
@@ -25,6 +25,8 @@ inherit autotools autotools-brokensep distutils
 
 DEPENDS += " gmp"
 
+do_compile[noexec] = "1"
+
 # We explicitly call distutils_do_install, since we want it to run, but
 # *don't* want the autotools install to run, since this package doesn't
 # provide a "make install" target.
Signature · 1 line
1.9.1