diff --git a/packages/python/system/pyasn1-modules/build b/packages/python/system/pyasn1-modules/build index a5c7622968..69832db409 100755 --- a/packages/python/system/pyasn1-modules/build +++ b/packages/python/system/pyasn1-modules/build @@ -27,4 +27,5 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD -python setup.py build --cross-compile bdist_egg --exclude-source-files +python setup.py build --cross-compile +python setup.py install --root=./.install --prefix=/usr diff --git a/packages/python/system/pyasn1-modules/install b/packages/python/system/pyasn1-modules/install index f113043c99..85a37ef61d 100755 --- a/packages/python/system/pyasn1-modules/install +++ b/packages/python/system/pyasn1-modules/install @@ -22,9 +22,4 @@ . config/options $1 -PKG_SRC_DIR=`ls -d $PKG_BUILD` - -PYTHON_IMAGE_DIR="`ls -d $INSTALL/usr/lib/python*`" -export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages" - -$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg +cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/python/system/pyasn1-modules/meta b/packages/python/system/pyasn1-modules/meta index 549c754fc1..805e24f12f 100644 --- a/packages/python/system/pyasn1-modules/meta +++ b/packages/python/system/pyasn1-modules/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="BSD" PKG_SITE="http://sourceforge.net/projects/pyasn1/" PKG_URL="$SOURCEFORGE_SRC/pyasn1/pyasn1-modules/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="Python distribute pyasn1" -PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross" +PKG_DEPENDS="Python pyasn1" +PKG_BUILD_DEPENDS="toolchain Python distutilscross" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="pyasn1-modules: a collection of protocols modules written in ASN.1 language."