20 lines
545 B
Plaintext
20 lines
545 B
Plaintext
# Tanım: Python paketlerindeki scm verilerinin yönetimini sağlayan setuptools eklentisi
|
||
# URL: https://github.com/pypa/setuptools_scm
|
||
# Paketçi: milisarge
|
||
# Gerekler: python3 sqlite python3-setuptools
|
||
# Grup: sistem
|
||
|
||
isim=python3-setuptools-scm
|
||
surum=3.1.0
|
||
devir=1
|
||
|
||
kaynak=(https://github.com/pypa/setuptools_scm/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
|
||
|
||
derle() {
|
||
export SETUPTOOLS_SCM_PRETEND_VERSION=$surum
|
||
cd "$SRC"/setuptools_scm-$surum
|
||
python3 setup.py build
|
||
python3 setup.py egg_info
|
||
python3 setup.py install --root "$PKG"
|
||
}
|