mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
setuptools: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
235b4d838d
commit
87336380fe
@ -24,7 +24,7 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://bitbucket.org/lambacck/distutilscross/"
|
||||
PKG_URL="http://pypi.python.org/packages/source/d/distutilscross/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_BUILD_DEPENDS_HOST="toolchain Python setuptools"
|
||||
PKG_BUILD_DEPENDS_HOST="toolchain Python setuptools:host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python/devel"
|
||||
PKG_SHORTDESC="distutilscross: Cross Compile Python Extensions"
|
||||
|
@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
python setup.py install --prefix=$ROOT/$TOOLCHAIN
|
@ -23,12 +23,20 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://pypi.python.org/pypi/setuptools"
|
||||
PKG_URL="http://pypi.python.org/packages/source/s/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="Python"
|
||||
PKG_BUILD_DEPENDS="toolchain Python"
|
||||
PKG_DEPENDS_HOST="Python"
|
||||
PKG_BUILD_DEPENDS_HOST="toolchain Python"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python/devel"
|
||||
PKG_SHORTDESC="setuptools: A collection of enhancements to the Python distutils"
|
||||
PKG_LONGDESC="Distribute is intended to replace Setuptools as the standard method for working with Python module distributions. Packages built and distributed using distribute look to the user like ordinary Python packages based on the distutils. Your users don't need to install or even know about setuptools in order to use them, and you don't have to include the entire setuptools package in your distributions. By including just a single bootstrap module (a 7K .py file), your package will automatically download and install setuptools if the user is building your package from source and doesn't have a suitable version already installed."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_host() {
|
||||
: # nothing todo
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
python setup.py install --prefix=$ROOT/$TOOLCHAIN
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user