py-setuptools
This commit is contained in:
parent
9775858d7c
commit
c581433959
|
@ -0,0 +1,18 @@
|
||||||
|
# Description: Python paketlerindeki scm verilerinin yönetimini sağlayan setuptools eklentisi
|
||||||
|
# URL: https://github.com/pypa/setuptools_scm
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: python sqlite python-setuptools
|
||||||
|
|
||||||
|
name=python-setuptools-scm
|
||||||
|
version=1.15.6
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://github.com/pypa/setuptools_scm/archive/v$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
|
||||||
|
cd "$SRC"/setuptools_scm-$version
|
||||||
|
python2 setup.py build
|
||||||
|
python2 setup.py egg_info
|
||||||
|
python2 setup.py install --root "$PKG"
|
||||||
|
}
|
|
@ -1,16 +1,20 @@
|
||||||
# Description: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
|
# Description: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
|
||||||
# URL: https://bitbucket.org/pypa/setuptools
|
# URL: https://bitbucket.org/pypa/setuptools
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: python
|
# Depends on: python sqlite
|
||||||
|
|
||||||
name=python-setuptools
|
name=python-setuptools
|
||||||
version=6.0.2
|
version=36.0.1
|
||||||
release=2
|
release=1
|
||||||
|
|
||||||
source=(http://pypi.python.org/packages/source/s/setuptools/setuptools-$version.tar.gz)
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd setuptools-$version
|
cd ${name#*-}-$version
|
||||||
python2 setup.py build install --root=$PKG
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||||
rm $PKG/usr/bin/easy_install
|
python2 bootstrap.py
|
||||||
|
python2 setup.py build
|
||||||
|
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||||
|
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
|
||||||
|
rm $PKG/usr/bin/easy_install
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Description: Python paketlerindeki scm verilerinin yönetimini sağlayan setuptools eklentisi
|
||||||
|
# URL: https://github.com/pypa/setuptools_scm
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: python3 sqlite python3-setuptools
|
||||||
|
|
||||||
|
name=python3-setuptools-scm
|
||||||
|
version=1.15.6
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://github.com/pypa/setuptools_scm/archive/v$version.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
|
||||||
|
cd "$SRC"/setuptools_scm-$version
|
||||||
|
python3 setup.py build
|
||||||
|
python3 setup.py egg_info
|
||||||
|
python3 setup.py install --root "$PKG"
|
||||||
|
}
|
|
@ -1,16 +1,20 @@
|
||||||
# Description: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
|
# Description: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
|
||||||
# URL: https://bitbucket.org/pypa/setuptools
|
# URL: https://bitbucket.org/pypa/setuptools
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: python3
|
# Depends on: python3 sqlite
|
||||||
|
|
||||||
name=python3-setuptools
|
name=python3-setuptools
|
||||||
version=6.0.2
|
version=36.0.1
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://pypi.python.org/packages/source/s/setuptools/setuptools-$version.tar.gz)
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd setuptools-$version
|
cd ${name#*-}-$version
|
||||||
python3 setup.py build install --root=$PKG
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||||
rm $PKG/usr/bin/easy_install
|
python3 bootstrap.py
|
||||||
|
python3 setup.py build
|
||||||
|
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||||
|
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
|
||||||
|
rm $PKG/usr/bin/easy_install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue