Compare commits
25 Commits
6c3b5c75c1
...
9ab2f6ad61
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ab2f6ad61 | |||
| 1187225137 | |||
| 312ace6cdf | |||
| 7fce3b6542 | |||
| 01cd8838a7 | |||
| cb63f51154 | |||
| fcf2aa5ea9 | |||
| 2be9c6f713 | |||
| 71804be681 | |||
| ee22df165f | |||
| dba52946e6 | |||
| d71ac22197 | |||
| 0a895ff5c0 | |||
| 8dcbeb346a | |||
| 2f1c909985 | |||
| 0643926542 | |||
| c679d83c74 | |||
| b9186bd3d1 | |||
| 62fcd984b3 | |||
| 6032a99299 | |||
| 8f6395a679 | |||
| dce1feab5d | |||
| a14d78c60c | |||
| 90e30528dd | |||
| 7078abe468 |
@@ -4,7 +4,7 @@ name=(
|
|||||||
python3-maturin
|
python3-maturin
|
||||||
)
|
)
|
||||||
version='1.10.2'
|
version='1.10.2'
|
||||||
release='4'
|
release='5'
|
||||||
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings'
|
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings'
|
||||||
desc_ru='Сборка и публикация крейтов с привязками pyo3, rust-cpython и cffi'
|
desc_ru='Сборка и публикация крейтов с привязками pyo3, rust-cpython и cffi'
|
||||||
homepage='https://github.com/PyO3/maturin'
|
homepage='https://github.com/PyO3/maturin'
|
||||||
@@ -62,12 +62,12 @@ prepare() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
MATURIN_SETUP_ARGS="--all-features" python -m build --wheel --no-isolation
|
MATURIN_SETUP_ARGS="--all-features" python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package_maturin() {
|
package_maturin() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/maturin/"
|
install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/maturin/"
|
||||||
install-license license-mit ./maturin/LICENSE
|
install-license license-mit ./maturin/LICENSE
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ files_maturin() {
|
|||||||
|
|
||||||
package_python3-maturin() {
|
package_python3-maturin() {
|
||||||
cd $basepkg_name-$version
|
cd $basepkg_name-$version
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install-license license-mit ./maturin/LICENSE
|
install-license license-mit ./maturin/LICENSE
|
||||||
|
|
||||||
# Remove binary - it goes to main maturin package
|
# Remove binary - it goes to main maturin package
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
_name='PortProtonQt'
|
_name='PortProtonQt'
|
||||||
name='portprotonqt'
|
name='portprotonqt'
|
||||||
version='0.1.9'
|
version='0.1.9'
|
||||||
release='2'
|
release='3'
|
||||||
desc='A modern GUI for PortProton project'
|
desc='A modern GUI for PortProton project'
|
||||||
desc_ru='Современный графический интерфейс для проекта PortProton'
|
desc_ru='Современный графический интерфейс для проекта PortProton'
|
||||||
homepage='https://github.com/Boria138/PortProtonQt'
|
homepage='https://github.com/Boria138/PortProtonQt'
|
||||||
@@ -145,12 +145,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$_name"
|
cd "$srcdir/$_name"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_name"
|
cd "$srcdir/$_name"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
cp -r build-aux/share "$pkgdir/usr/"
|
cp -r build-aux/share "$pkgdir/usr/"
|
||||||
install-license LICENSE portprotonqt/LICENSE
|
install-license LICENSE portprotonqt/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='protontricks'
|
name='protontricks'
|
||||||
version='1.13.1'
|
version='1.13.1'
|
||||||
release='1'
|
release='2'
|
||||||
desc='A wrapper for running Winetricks commands for Proton-enabled games'
|
desc='A wrapper for running Winetricks commands for Proton-enabled games'
|
||||||
desc_ru='Обёртка для запуска Winetricks команд для игр с Proton'
|
desc_ru='Обёртка для запуска Winetricks команд для игр с Proton'
|
||||||
homepage='https://github.com/Matoking/protontricks'
|
homepage='https://github.com/Matoking/protontricks'
|
||||||
@@ -34,12 +34,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/protontricks-${version}"
|
cd "$srcdir/protontricks-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/protontricks-${version}"
|
cd "$srcdir/protontricks-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-cleo'
|
name='python3-cleo'
|
||||||
version='2.1.0'
|
version='2.1.0'
|
||||||
release='5'
|
release='6'
|
||||||
desc='Cleo allows you to create beautiful and testable command-line interfaces'
|
desc='Cleo allows you to create beautiful and testable command-line interfaces'
|
||||||
desc_ru='Библиотека Python для создания красивых и тестируемых интерфейсов командной строки'
|
desc_ru='Библиотека Python для создания красивых и тестируемых интерфейсов командной строки'
|
||||||
homepage='https://github.com/python-poetry/cleo'
|
homepage='https://github.com/python-poetry/cleo'
|
||||||
@@ -36,12 +36,12 @@ checksums=('blake2b-256:3c30f7960ed7041b158301c46774f87620352d50a9028d111b421118
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/cleo-${version}"
|
cd "$srcdir/cleo-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/cleo-${version}"
|
cd "$srcdir/cleo-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-deepdiff'
|
name='python3-deepdiff'
|
||||||
version='8.6.1'
|
version='8.6.1'
|
||||||
release='3'
|
release='4'
|
||||||
desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other'
|
desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other'
|
||||||
desc_ru='Библиотека Python для глубокого сравнения и поиска любых объектов и данных'
|
desc_ru='Библиотека Python для глубокого сравнения и поиска любых объектов и данных'
|
||||||
homepage='https://github.com/seperman/deepdiff'
|
homepage='https://github.com/seperman/deepdiff'
|
||||||
@@ -62,12 +62,12 @@ checksums=('blake2b-256:197636c9aab3d5c19a94091f7c6c6e784efca50d87b124bf026c36e9
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/deepdiff-${version}"
|
cd "$srcdir/deepdiff-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/deepdiff-${version}"
|
cd "$srcdir/deepdiff-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-dotty-dict'
|
name='python3-dotty-dict'
|
||||||
version='1.3.1'
|
version='1.3.1'
|
||||||
release='4'
|
release='5'
|
||||||
desc='Dictionary wrapper for quick access to deeply nested keys'
|
desc='Dictionary wrapper for quick access to deeply nested keys'
|
||||||
desc_ru='Библиотека Python для быстрого доступа к глубоко вложенным ключам словаря'
|
desc_ru='Библиотека Python для быстрого доступа к глубоко вложенным ключам словаря'
|
||||||
homepage='https://github.com/pawelzny/dotty_dict'
|
homepage='https://github.com/pawelzny/dotty_dict'
|
||||||
@@ -58,7 +58,7 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "dotty_dict-$version"
|
cd "dotty_dict-$version"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
@@ -68,7 +68,7 @@ check() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "dotty_dict-$version"
|
cd "dotty_dict-$version"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install-license ./LICENSE ./${name}/LICENSE
|
install-license ./LICENSE ./${name}/LICENSE
|
||||||
}
|
}
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-flit-core'
|
name='python3-flit-core'
|
||||||
version='3.12.0'
|
version='3.12.0'
|
||||||
release='1'
|
release='2'
|
||||||
desc='PEP 517 build backend for packages using Flit'
|
desc='PEP 517 build backend for packages using Flit'
|
||||||
desc_ru='PEP 517 бэкенд сборки для пакетов использующих Flit'
|
desc_ru='PEP 517 бэкенд сборки для пакетов использующих Flit'
|
||||||
homepage='https://flit.pypa.io/'
|
homepage='https://flit.pypa.io/'
|
||||||
@@ -37,12 +37,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/flit_core-${version}"
|
cd "$srcdir/flit_core-${version}"
|
||||||
python -m flit_core.wheel
|
python3 -m flit_core.wheel
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/flit_core-${version}"
|
cd "$srcdir/flit_core-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-hjson'
|
name='python3-hjson'
|
||||||
version='3.1.0'
|
version='3.1.0'
|
||||||
release='4'
|
release='5'
|
||||||
desc='JSON for Humans, allows comments and is less error prone.'
|
desc='JSON for Humans, allows comments and is less error prone.'
|
||||||
desc_ru='Библиотека Python для удобного JSON с поддержкой комментариев'
|
desc_ru='Библиотека Python для удобного JSON с поддержкой комментариев'
|
||||||
homepage='https://github.com/laktak/hjson-py'
|
homepage='https://github.com/laktak/hjson-py'
|
||||||
@@ -49,12 +49,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "hjson-${version}"
|
cd "hjson-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "hjson-${version}"
|
cd "hjson-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install-license LICENSE.txt ./${name}/LICENSE.txt
|
install-license LICENSE.txt ./${name}/LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-icoextract'
|
name='python3-icoextract'
|
||||||
version='0.2.0'
|
version='0.2.0'
|
||||||
release='1'
|
release='2'
|
||||||
desc='Windows PE EXE icon extractor'
|
desc='Windows PE EXE icon extractor'
|
||||||
desc_ru='Извлечение иконок из Windows PE EXE файлов'
|
desc_ru='Извлечение иконок из Windows PE EXE файлов'
|
||||||
homepage='https://github.com/jlu5/icoextract'
|
homepage='https://github.com/jlu5/icoextract'
|
||||||
@@ -36,12 +36,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/icoextract-${version}"
|
cd "$srcdir/icoextract-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/icoextract-${version}"
|
cd "$srcdir/icoextract-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-inputs'
|
name='python3-inputs'
|
||||||
version='0.5'
|
version='0.5'
|
||||||
release='2'
|
release='3'
|
||||||
desc='Cross-platform Python support for keyboards, mice and gamepads.'
|
desc='Cross-platform Python support for keyboards, mice and gamepads.'
|
||||||
desc_ru='Библиотека Python для кроссплатформенной поддержки клавиатуры, мыши и геймпадов'
|
desc_ru='Библиотека Python для кроссплатформенной поддержки клавиатуры, мыши и геймпадов'
|
||||||
homepage='https://github.com/zeth/inputs'
|
homepage='https://github.com/zeth/inputs'
|
||||||
@@ -56,12 +56,12 @@ checksums=('blake2b-256:d1cd5f434220920f76eb73d19bb7aab8d857445f40aa642718e6e51e
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/inputs-${version}"
|
cd "$srcdir/inputs-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/inputs-${version}"
|
cd "$srcdir/inputs-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-markdown-it-py'
|
name='python3-markdown-it-py'
|
||||||
version='4.0.0'
|
version='4.0.0'
|
||||||
release='6'
|
release='7'
|
||||||
desc='Python port of markdown-it. Markdown parsing, done right'
|
desc='Python port of markdown-it. Markdown parsing, done right'
|
||||||
desc_ru='Библиотека Python для правильного парсинга Markdown'
|
desc_ru='Библиотека Python для правильного парсинга Markdown'
|
||||||
homepage='https://github.com/executablebooks/markdown-it-py'
|
homepage='https://github.com/executablebooks/markdown-it-py'
|
||||||
@@ -38,12 +38,12 @@ checksums=('blake2b-256:5bf54ec618ed16cc4f8fb3b701563655a69816155e79e24a17b65154
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/markdown_it_py-${version}"
|
cd "$srcdir/markdown_it_py-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/markdown_it_py-${version}"
|
cd "$srcdir/markdown_it_py-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-mdit-py-plugins'
|
name='python3-mdit-py-plugins'
|
||||||
version='0.5.0'
|
version='0.5.0'
|
||||||
release='4'
|
release='5'
|
||||||
desc='Collection of plugins for markdown-it-py'
|
desc='Collection of plugins for markdown-it-py'
|
||||||
desc_ru='Коллекция плагинов для библиотеки Python markdown-it-py'
|
desc_ru='Коллекция плагинов для библиотеки Python markdown-it-py'
|
||||||
homepage='https://github.com/executablebooks/mdit-py-plugins'
|
homepage='https://github.com/executablebooks/mdit-py-plugins'
|
||||||
@@ -38,12 +38,12 @@ checksums=('blake2b-256:b2fda756d36c0bfba5f6e39a1cdbdbfdd448dc02692467d83816dff4
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/mdit_py_plugins-${version}"
|
cd "$srcdir/mdit_py_plugins-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/mdit_py_plugins-${version}"
|
cd "$srcdir/mdit_py_plugins-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
_name='orjson'
|
_name='orjson'
|
||||||
name='python3-orjson'
|
name='python3-orjson'
|
||||||
version='3.11.3'
|
version='3.11.3'
|
||||||
release='3'
|
release='4'
|
||||||
desc="Fast, correct Python JSON library supporting dataclasses and datetimes"
|
desc="Fast, correct Python JSON library supporting dataclasses and datetimes"
|
||||||
desc_ru='Быстрая библиотека Python JSON с поддержкой dataclasses и datetime'
|
desc_ru='Быстрая библиотека Python JSON с поддержкой dataclasses и datetime'
|
||||||
homepage='https://github.com/ijl/orjson'
|
homepage='https://github.com/ijl/orjson'
|
||||||
@@ -104,17 +104,17 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
local _site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])")
|
||||||
|
|
||||||
cd $_name-${version}
|
cd $_name-${version}
|
||||||
python -m installer --destdir=test_dir target/wheels/*.whl
|
python3 -m installer --destdir=test_dir target/wheels/*.whl
|
||||||
export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
|
export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
|
||||||
pytest -vv
|
pytest -vv
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_name-${version}
|
cd $_name-${version}
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr target/wheels/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr target/wheels/*.whl
|
||||||
install -vDm 644 {CHANGELOG,README}.md -t "$pkgdir/usr/share/doc/$name/"
|
install -vDm 644 {CHANGELOG,README}.md -t "$pkgdir/usr/share/doc/$name/"
|
||||||
install -vDm 644 LICENSE-* -t "$pkgdir/usr/share/licenses/$name/"
|
install -vDm 644 LICENSE-* -t "$pkgdir/usr/share/licenses/$name/"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
_name=pendulum
|
_name=pendulum
|
||||||
name='python3-pendulum'
|
name='python3-pendulum'
|
||||||
version='3.1.0'
|
version='3.1.0'
|
||||||
release='5'
|
release='6'
|
||||||
desc='Python datetimes made easy'
|
desc='Python datetimes made easy'
|
||||||
desc_ru='Библиотека Python для удобной работы с датой и временем'
|
desc_ru='Библиотека Python для удобной работы с датой и временем'
|
||||||
homepage='https://pendulum.eustace.io/'
|
homepage='https://pendulum.eustace.io/'
|
||||||
@@ -80,25 +80,25 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_name-$version
|
cd $_name-$version
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
local pytest_options=(
|
local pytest_options=(
|
||||||
-vv
|
-vv
|
||||||
)
|
)
|
||||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
local site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])")
|
||||||
|
|
||||||
cd $_name-$version
|
cd $_name-$version
|
||||||
# install to temporary location, as importlib is used
|
# install to temporary location, as importlib is used
|
||||||
python -m installer --destdir=test_dir dist/*.whl
|
python3 -m installer --destdir=test_dir dist/*.whl
|
||||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
||||||
pytest "${pytest_options[@]}"
|
pytest "${pytest_options[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_name-$version
|
cd $_name-$version
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$name/"
|
install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$name/"
|
||||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$name/"
|
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$name/"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-poetry-core'
|
name='python3-poetry-core'
|
||||||
version='2.2.1'
|
version='2.2.1'
|
||||||
release='1'
|
release='2'
|
||||||
desc='Poetry PEP 517 Build Backend'
|
desc='Poetry PEP 517 Build Backend'
|
||||||
desc_ru='PEP 517 бэкенд сборки для Poetry'
|
desc_ru='PEP 517 бэкенд сборки для Poetry'
|
||||||
homepage='https://github.com/python-poetry/poetry-core'
|
homepage='https://github.com/python-poetry/poetry-core'
|
||||||
@@ -36,12 +36,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/poetry_core-${version}"
|
cd "$srcdir/poetry_core-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/poetry_core-${version}"
|
cd "$srcdir/poetry_core-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-pyaml'
|
name='python3-pyaml'
|
||||||
version='25.7.0'
|
version='25.7.0'
|
||||||
release='3'
|
release='4'
|
||||||
desc='PyYAML-based module to produce a bit more pretty and readable YAML-serialized data.'
|
desc='PyYAML-based module to produce a bit more pretty and readable YAML-serialized data.'
|
||||||
desc_ru='Модуль PyYAML для создания более красивого и читаемого YAML-представления данных.'
|
desc_ru='Модуль PyYAML для создания более красивого и читаемого YAML-представления данных.'
|
||||||
homepage='https://github.com/mk-fg/pretty-yaml'
|
homepage='https://github.com/mk-fg/pretty-yaml'
|
||||||
@@ -24,12 +24,12 @@ checksums=('blake2b-256:c40141f63d66a801a561c9e335523516bd5f761bc43cc61f8b759183
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/pyaml-${version}"
|
cd "$srcdir/pyaml-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/pyaml-${version}"
|
cd "$srcdir/pyaml-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ name=(
|
|||||||
python3-pyside6
|
python3-pyside6
|
||||||
)
|
)
|
||||||
version='6.8.3'
|
version='6.8.3'
|
||||||
release='6'
|
release='7'
|
||||||
desc='Python bindings for the Qt 6 cross-platform application and UI framework'
|
desc='Python bindings for the Qt 6 cross-platform application and UI framework'
|
||||||
desc_ru='Привязки Python для кроссплатформенного фреймворка Qt 6'
|
desc_ru='Привязки Python для кроссплатформенного фреймворка Qt 6'
|
||||||
homepage='https://www.pyside.org'
|
homepage='https://www.pyside.org'
|
||||||
@@ -80,15 +80,15 @@ meta_python3-pyside6() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_python3-shiboken6() {
|
package_python3-shiboken6() {
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/shiboken6-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/shiboken6-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python3-pyside6-essentials() {
|
package_python3-pyside6-essentials() {
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6_Essentials-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6_Essentials-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python3-pyside6-addons() {
|
package_python3-pyside6-addons() {
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6_Addons-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6_Addons-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
||||||
# Remove files that conflict with essentials
|
# Remove files that conflict with essentials
|
||||||
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/__init__.py
|
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/__init__.py
|
||||||
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/_config.py
|
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/_config.py
|
||||||
@@ -97,7 +97,7 @@ package_python3-pyside6-addons() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_python3-pyside6() {
|
package_python3-pyside6() {
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr "$srcdir/PySide6-${version}-cp39-abi3-manylinux_2_28_x86_64.whl"
|
||||||
# Remove files that conflict with essentials
|
# Remove files that conflict with essentials
|
||||||
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/__init__.py
|
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/__init__.py
|
||||||
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/_config.py
|
rm -f "$pkgdir"/usr/lib*/python3.*/site-packages/PySide6/_config.py
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-pyyaml'
|
name='python3-pyyaml'
|
||||||
version='6.0.2'
|
version='6.0.2'
|
||||||
release='2'
|
release='3'
|
||||||
desc='YAML parser and emitter for Python'
|
desc='YAML parser and emitter for Python'
|
||||||
desc_ru='Библиотека Python для парсинга и генерации YAML'
|
desc_ru='Библиотека Python для парсинга и генерации YAML'
|
||||||
homepage='https://pyyaml.org/'
|
homepage='https://pyyaml.org/'
|
||||||
@@ -61,12 +61,12 @@ checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead252
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/pyyaml-${version}"
|
cd "$srcdir/pyyaml-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/pyyaml-${version}"
|
cd "$srcdir/pyyaml-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-setuptools-rust'
|
name='python3-setuptools-rust'
|
||||||
version='1.12.0'
|
version='1.12.0'
|
||||||
release='6'
|
release='7'
|
||||||
desc='Setuptools plugin for Rust support'
|
desc='Setuptools plugin for Rust support'
|
||||||
desc_ru='Плагин Setuptools для поддержки Rust'
|
desc_ru='Плагин Setuptools для поддержки Rust'
|
||||||
homepage='https://github.com/PyO3/setuptools-rust'
|
homepage='https://github.com/PyO3/setuptools-rust'
|
||||||
@@ -36,12 +36,12 @@ checksums=('d94a93f0c97751c17014565f07bdc324bee45d396cd1bba83d8e7af92b945f0c')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/setuptools_rust-${version}"
|
cd "$srcdir/setuptools_rust-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/setuptools_rust-${version}"
|
cd "$srcdir/setuptools_rust-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-setuptools-scm'
|
name='python3-setuptools-scm'
|
||||||
version='9.2.2'
|
version='9.2.2'
|
||||||
release='4'
|
release='5'
|
||||||
desc='Setuptools plugin for managing versions with SCM metadata'
|
desc='Setuptools plugin for managing versions with SCM metadata'
|
||||||
desc_ru='Плагин Setuptools для управления версиями с метаданными SCM'
|
desc_ru='Плагин Setuptools для управления версиями с метаданными SCM'
|
||||||
homepage='https://github.com/pypa/setuptools_scm'
|
homepage='https://github.com/pypa/setuptools_scm'
|
||||||
@@ -36,12 +36,12 @@ checksums=('1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/setuptools_scm-${version}"
|
cd "$srcdir/setuptools_scm-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/setuptools_scm-${version}"
|
cd "$srcdir/setuptools_scm-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-steam'
|
name='python3-steam'
|
||||||
version='1.4.4'
|
version='1.4.4'
|
||||||
release='2'
|
release='3'
|
||||||
desc='Module for interacting with various Steam features.'
|
desc='Module for interacting with various Steam features.'
|
||||||
desc_ru='Библиотека Python для взаимодействия с различными функциями Steam'
|
desc_ru='Библиотека Python для взаимодействия с различными функциями Steam'
|
||||||
homepage='https://github.com/ValvePython/steam'
|
homepage='https://github.com/ValvePython/steam'
|
||||||
@@ -36,12 +36,12 @@ checksums=('blake2b-256:9a3162ac25584988182dee5ee949395e08943ff8b11634dc33abab70
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/steam-${version}"
|
cd "$srcdir/steam-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/steam-${version}"
|
cd "$srcdir/steam-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-tzdata'
|
name='python3-tzdata'
|
||||||
version='2025.2'
|
version='2025.2'
|
||||||
release='2'
|
release='3'
|
||||||
desc='Provider of IANA time zone data'
|
desc='Provider of IANA time zone data'
|
||||||
desc_ru='Поставщик данных о часовых поясах IANA'
|
desc_ru='Поставщик данных о часовых поясах IANA'
|
||||||
homepage='https://github.com/python/tzdata'
|
homepage='https://github.com/python/tzdata'
|
||||||
@@ -35,12 +35,12 @@ checksums=('SKIP')
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/tzdata-${version}"
|
cd "$srcdir/tzdata-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/tzdata-${version}"
|
cd "$srcdir/tzdata-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-wheel'
|
name='python3-wheel'
|
||||||
version='0.45.1'
|
version='0.45.1'
|
||||||
release='7'
|
release='8'
|
||||||
desc='This is a command line tool for manipulating Python wheel files, as defined in PEP 427'
|
desc='This is a command line tool for manipulating Python wheel files, as defined in PEP 427'
|
||||||
desc_ru='Библиотека Python для работы с wheel-файлами согласно PEP 427'
|
desc_ru='Библиотека Python для работы с wheel-файлами согласно PEP 427'
|
||||||
homepage='https://github.com/pypa/wheel'
|
homepage='https://github.com/pypa/wheel'
|
||||||
@@ -36,12 +36,12 @@ checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a2
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/wheel-${version}"
|
cd "$srcdir/wheel-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/wheel-${version}"
|
cd "$srcdir/wheel-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='python3-zstandard'
|
name='python3-zstandard'
|
||||||
version='0.24.0'
|
version='0.24.0'
|
||||||
release='2'
|
release='3'
|
||||||
desc='Zstandard bindings for Python.'
|
desc='Zstandard bindings for Python.'
|
||||||
desc_ru='Привязки Python к библиотеке сжатия Zstandard'
|
desc_ru='Привязки Python к библиотеке сжатия Zstandard'
|
||||||
homepage='https://github.com/indygreg/python-zstandard'
|
homepage='https://github.com/indygreg/python-zstandard'
|
||||||
@@ -38,12 +38,12 @@ checksums=('blake2b-256:edf62ac0287b442160a89d726b17a9184a4c615bb5237db763791a7f
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/zstandard-${version}"
|
cd "$srcdir/zstandard-${version}"
|
||||||
python -m build --wheel --no-isolation
|
python3 -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/zstandard-${version}"
|
cd "$srcdir/zstandard-${version}"
|
||||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
python3 -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name='qmk-cli'
|
name='qmk-cli'
|
||||||
version='1.2.0'
|
version='1.2.0'
|
||||||
release='1'
|
release='2'
|
||||||
desc='CLI tool for customizing supported mechanical keyboards'
|
desc='CLI tool for customizing supported mechanical keyboards'
|
||||||
desc_ru='Утилита командной строки для настройки механических клавиатур'
|
desc_ru='Утилита командной строки для настройки механических клавиатур'
|
||||||
homepage='https://github.com/qmk/qmk_cli'
|
homepage='https://github.com/qmk/qmk_cli'
|
||||||
@@ -163,13 +163,13 @@ checksums=('SKIP'
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/qmk_cli"
|
cd "${srcdir}/qmk_cli"
|
||||||
python -m build --skip-dependency-check --wheel
|
python3 -m build --skip-dependency-check --wheel
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/qmk_cli"
|
cd "${srcdir}/qmk_cli"
|
||||||
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
|
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
|
||||||
python -O -m compileall "${pkgdir}"
|
python3 -O -m compileall "${pkgdir}"
|
||||||
|
|
||||||
install-license ./LICENSE ${name}/LICENSE
|
install-license ./LICENSE ${name}/LICENSE
|
||||||
install -d "${pkgdir}/usr/lib/udev/rules.d"
|
install -d "${pkgdir}/usr/lib/udev/rules.d"
|
||||||
|
|||||||
Reference in New Issue
Block a user