python3-pendulum 3.1.0-5
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
_name='orjson'
|
||||
name='python3-orjson'
|
||||
version='3.11.3'
|
||||
release='2'
|
||||
release='3'
|
||||
desc="Fast, correct Python JSON library supporting dataclasses and datetimes"
|
||||
desc_ru='Быстрая библиотека Python JSON с поддержкой dataclasses и datetime'
|
||||
homepage='https://github.com/ijl/orjson'
|
||||
@@ -114,14 +114,13 @@ check() {
|
||||
|
||||
package() {
|
||||
cd $_name-${version}
|
||||
python -m installer --destdir="$pkgdir" target/wheels/*.whl
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr target/wheels/*.whl
|
||||
install -vDm 644 {CHANGELOG,README}.md -t "$pkgdir/usr/share/doc/$name/"
|
||||
install -vDm 644 LICENSE-* -t "$pkgdir/usr/share/licenses/$name/"
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/lib/python3.*/site-packages/orjson"
|
||||
files-find "./usr/lib/python3.*/site-packages/orjson-*.dist-info"
|
||||
files-find-lib
|
||||
files-find-share "doc"
|
||||
files-find-share "licenses"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
_name=pendulum
|
||||
name='python3-pendulum'
|
||||
version='3.1.0'
|
||||
release='4'
|
||||
release='5'
|
||||
desc='Python datetimes made easy'
|
||||
desc_ru='Библиотека Python для удобной работы с датой и временем'
|
||||
homepage='https://pendulum.eustace.io/'
|
||||
@@ -99,8 +99,8 @@ check() {
|
||||
package() {
|
||||
cd $_name-$version
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$name/"
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$name/"
|
||||
}
|
||||
|
||||
files() {
|
||||
|
||||
@@ -15,9 +15,9 @@ deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
build_deps=("python3" "python3-build" "python3-installer")
|
||||
build_deps_arch=("python" "python-build" "python-installer")
|
||||
build_deps_alpine=("python3" "py3-build" "py3-installer")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-25.7.0.tar.gz")
|
||||
checksums=('blake2b-256:c40141f63d66a801a561c9e335523516bd5f761bc43cc61f8b75918306bf2da8')
|
||||
@@ -29,11 +29,10 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pyaml-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/pyaml
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/pyaml/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/pyaml-${version}.dist-info/*
|
||||
files-find-bin
|
||||
files-find-lib
|
||||
}
|
||||
@@ -23,22 +23,26 @@ deps_alpine=('python3')
|
||||
|
||||
build_deps=(
|
||||
'python3'
|
||||
'python3-pip'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-cython'
|
||||
)
|
||||
build_deps_alt=(
|
||||
'python3'
|
||||
'python3-module-pip'
|
||||
'python3-module-build'
|
||||
'python3-module-installer'
|
||||
'python3-module-Cython'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'python'
|
||||
'python-pip'
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'cython'
|
||||
)
|
||||
build_deps_debian=(
|
||||
'python3'
|
||||
'python3-pip'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'cython3'
|
||||
)
|
||||
build_deps_fedora=("${build_deps[@]}")
|
||||
@@ -47,7 +51,8 @@ build_deps_rhel=("${build_deps[@]}")
|
||||
build_deps_rosa=("${build_deps[@]}")
|
||||
build_deps_alpine=(
|
||||
'python3'
|
||||
'py3-pip'
|
||||
'py3-build'
|
||||
'py3-installer'
|
||||
'py3-cython'
|
||||
)
|
||||
|
||||
@@ -61,11 +66,9 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pyyaml-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/local/lib*/python3.*/site-packages/yaml"
|
||||
files-find "./usr/local/lib*/python3.*/site-packages/_yaml"
|
||||
files-find "./usr/local/lib*/python3.*/site-packages/PyYAML-*.dist-info"
|
||||
files-find-lib
|
||||
}
|
||||
@@ -20,16 +20,16 @@ deps_rhel=('python3')
|
||||
deps_rosa=('python3')
|
||||
deps_alpine=('python3')
|
||||
|
||||
build_deps=('python3' 'python3-pip')
|
||||
build_deps=('python3' 'python3-build' 'python3-installer')
|
||||
|
||||
build_deps_alt=('python3' 'python3-module-pip')
|
||||
build_deps_arch=('python' 'python-pip')
|
||||
build_deps_debian=('python3' 'python3-pip')
|
||||
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer')
|
||||
build_deps_arch=('python' 'python-build' 'python-installer')
|
||||
build_deps_debian=('python3' 'python3-build' 'python3-installer')
|
||||
build_deps_fedora=("${build_deps[@]}")
|
||||
build_deps_redos=("${build_deps[@]}")
|
||||
build_deps_rhel=("${build_deps[@]}")
|
||||
build_deps_rosa=("${build_deps[@]}")
|
||||
build_deps_alpine=('python3' 'py3-pip')
|
||||
build_deps_alpine=('python3' 'py3-build' 'py3-installer')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/s/steam/steam-1.4.4.tar.gz")
|
||||
checksums=('blake2b-256:9a3162ac25584988182dee5ee949395e08943ff8b11634dc33abab7078d28433')
|
||||
@@ -41,10 +41,9 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$srcdir/steam-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/local/lib/python3.*/site-packages/steam"
|
||||
files-find "./usr/local/lib/python3.*/site-packages/steam-*.dist-info"
|
||||
files-find-lib
|
||||
}
|
||||
@@ -21,31 +21,30 @@ deps_rhel=('python3')
|
||||
deps_rosa=('python3')
|
||||
deps_alpine=('python3')
|
||||
|
||||
build_deps=('python3' 'python3-pip')
|
||||
build_deps_alt=('python3' 'python3-module-pip')
|
||||
build_deps_arch=('python' 'python-pip')
|
||||
build_deps_debian=('python3' 'python3-pip')
|
||||
build_deps=('python3' 'python3-build' 'python3-installer')
|
||||
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer')
|
||||
build_deps_arch=('python' 'python-build' 'python-installer')
|
||||
build_deps_debian=('python3' 'python3-build' 'python3-installer')
|
||||
build_deps_fedora=("${build_deps[@]}")
|
||||
build_deps_redos=("${build_deps[@]}")
|
||||
build_deps_rhel=("${build_deps[@]}")
|
||||
build_deps_rosa=("${build_deps[@]}")
|
||||
build_deps_alpine=('python3' 'py3-pip')
|
||||
build_deps_alpine=('python3' 'py3-build' 'py3-installer')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz")
|
||||
checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/wheel-${version}"
|
||||
python3 -m build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/wheel-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/local/bin"
|
||||
files-find "./usr/local/lib/python3.*/site-packages/wheel"
|
||||
files-find "./usr/local/lib/python3.*/site-packages/wheel-*.dist-info"
|
||||
files-find-bin
|
||||
files-find-lib
|
||||
}
|
||||
@@ -22,16 +22,16 @@ deps_rhel=("${deps_fedora[@]}")
|
||||
deps_rosa=("${deps_fedora[@]}")
|
||||
deps_alpine=('python3' 'zstd')
|
||||
|
||||
build_deps=('python3' 'python3-pip' 'zstd-devel')
|
||||
build_deps=('python3' 'python3-build' 'python3-installer' 'zstd-devel')
|
||||
|
||||
build_deps_alt=('python3' 'python3-module-pip' 'libzstd-devel')
|
||||
build_deps_arch=('python' 'python-pip' 'zstd')
|
||||
build_deps_debian=('python3' 'python3-pip' 'libzstd-dev')
|
||||
build_deps_fedora=('python3' 'python3-pip' 'libzstd-devel')
|
||||
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'libzstd-devel')
|
||||
build_deps_arch=('python' 'python-build' 'python-installer' 'zstd')
|
||||
build_deps_debian=('python3' 'python3-build' 'python3-installer' 'libzstd-dev')
|
||||
build_deps_fedora=('python3' 'python3-build' 'python3-installer' 'libzstd-devel')
|
||||
build_deps_redos=("${build_deps_fedora[@]}")
|
||||
build_deps_rhel=("${build_deps_fedora[@]}")
|
||||
build_deps_rosa=("${build_deps_fedora[@]}")
|
||||
build_deps_alpine=('python3' 'py3-pip' 'zstd-dev')
|
||||
build_deps_alpine=('python3' 'py3-build' 'py3-installer' 'zstd-dev')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-0.24.0.tar.gz")
|
||||
checksums=('blake2b-256:edf62ac0287b442160a89d726b17a9184a4c615bb5237db763791a7fd16d9df1')
|
||||
@@ -42,11 +42,10 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/zstandard-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
|
||||
cd "$srcdir/zstandard-${version}"
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/lib/python3.*/site-packages/zstandard"
|
||||
files-find "./usr/lib/python3.*/site-packages/zstandard-*.dist-info"
|
||||
files-find-lib
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user