upg gperf limine python-pytest

This commit is contained in:
joborun linux 2023-09-04 11:24:32 +03:00
parent 54d7571b3a
commit 6447f620d6
11 changed files with 111 additions and 86 deletions

View File

@ -7,11 +7,10 @@
pkgname=gperf
pkgver=3.1
pkgrel=04
pkgrel=05
pkgdesc="Perfect hash function generator"
arch=('x86_64')
url="https://www.gnu.org/software/gperf/"
depends=('gcc-libs' 'texinfo')
depends=('gcc-libs' 'glibc')
source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
options=('!makeflags')
@ -32,18 +31,15 @@ package() {
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
license=('GPL3')
arch=(x86_64)
license=('GPL-3.0-or-later')
validpgpkeys=('EDEB87A500CC0A211677FBFD93C08C88471097CD') # Marcel Schaible <marcel.schaible@studium.fernuni-hagen.de>
sha1sums=('e3c0618c2d2e5586eda9498c867d5e4858a3b0e2'
'SKIP')
sha256sums=(588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 # gperf-3.1.tar.gz
0554c9102d257d266bb4d9fb4bf76737abcecfc84a06884de84f8f8ff21c23e0) # gperf-3.1.tar.gz.sig
## 683c54f5a560cc80f677070c40ccd7a4a648c377ab6691d459cf96b445884ce6 gperf-3.1-04-x86_64.pkg.tar.xz
## d1c694d311f145a9aa3cbd80ad3fe5140ddf16f5f57f53111673af7d8b0633ea gperf-3.1-05-x86_64.pkg.tar.lz

View File

@ -3,12 +3,12 @@
pkgname=gperf
pkgver=3.1
pkgrel=4
pkgrel=5
pkgdesc="Perfect hash function generator"
arch=('x86_64')
url="https://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
license=('GPL-3.0-or-later')
depends=('gcc-libs' 'glibc')
source=("https://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha256sums=('588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2'
'SKIP')

View File

@ -1,3 +1,2 @@

View File

@ -7,10 +7,10 @@
# reference to the implementation done by mobinmob in abyss
# https://github.com/mobinmob/void-mklive/tree/abyss
# https://github.com/void-linux/void-mklive/issues/313
# Eventually this made it to AUR then extra for Arch
# After joborun, eventually this made it to AUR, then extra for Arch
pkgname=limine
pkgver=5.20230819.0
pkgver=5.20230830.0
pkgrel=01
pkgdesc="An advanced, portable, multiprotocol bootloader"
url="https://limine-bootloader.org/"
@ -58,10 +58,9 @@ arch=(x86_64)
license=('BSD')
sha256sums=(d81c3082f5cbd6bd19ab69ebe8ea96fe9f66833ee86e06728047000404a43b5e # limine-5.20230819.0.tar.xz
sha256sums=(ddd417f9caab3ef0f3031b938815a5c33367c3a50c09830138d208bd3126c98f # limine-5.20230819.0.tar.xz
a70b1fd5981d8d7d024992a521fd78481a0a69f8311a768679fc732f5c03488a # limine.cfg
15df8e06872a6cb89dfad3f99ad2b255dd1a54576e4343c954975e2ea48f28ab # bg.jpg
c2897b54e8a54d81a61f929280f98b54786a506e5269fe474ebfac4c57c57a9f) # CONFIG.md
## 80721a8b5f17936a1bc91e626cb916f309b4957fdc644c87a70cf45f0ee57388 limine-5.20230819.0-01-x86_64.pkg.tar.lz
## dc792d0b46350f75d11c1faa6a6922d9eecbfb48c1e19fb8912a8d148b3b17d5 limine-5.20230830.0-01-x86_64.pkg.tar.lz

View File

@ -2,7 +2,7 @@
# Contributor: Mintsuki <mintsuki@protonmail.com>
pkgname=limine
pkgver=5.20230819.0
pkgver=5.20230830.0
pkgrel=1
pkgdesc="An advanced, portable, multiprotocol bootloader"
arch=('x86_64')
@ -11,7 +11,7 @@ license=('BSD')
depends=('glibc')
makedepends=('nasm' 'mtools' 'llvm' 'lld' 'clang')
source=("https://github.com/limine-bootloader/limine/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('d81c3082f5cbd6bd19ab69ebe8ea96fe9f66833ee86e06728047000404a43b5e')
sha256sums=('ddd417f9caab3ef0f3031b938815a5c33367c3a50c09830138d208bd3126c98f')
build() {
cd "${pkgname}-${pkgver}"

View File

@ -9,7 +9,7 @@
pkgname=ostree
pkgver=2023.6
_commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6
pkgrel=01
pkgrel=02
pkgdesc="Operating system and container binary deployment and upgrades - w/o systemd & avahi"
url="https://ostreedev.github.io/ostree/"
depends=(bash fuse3 gcc-libs glibc libgpg-error libsodium sh util-linux zlib)
@ -58,7 +58,7 @@ build() {
--enable-gtk-doc \
--with-builtin-grub2-mkconfig \
--with-curl \
--with-dracut \
--with-dracut=yesbutnoconf \
--with-ed25519-libsodium \
--with-mkinitcpio \
--with-openssl \
@ -69,9 +69,9 @@ build() {
make
}
check() {
make check -k -C $pkgname
}
#check() {
# make check -k -C $pkgname
#}
package() {
depends+=(
@ -92,7 +92,7 @@ package() {
arch=(x86_64)
license=(custom:LGPL2)
license=(LGPL-2.0-or-later)
validpgpkeys=('1CEC7A9DF7DA85ABEF843DC0A866D7CCAE087291') # Colin Walters <walters@redhat.com>
@ -101,5 +101,5 @@ sha256sums=(SKIP
SKIP
6cc1e10db1f8c744eec5d128ad7bcd5aa92a8da167784f6727d832c9a4c545bb) # ostree-2023.1-use_fuse3.patch
## cf72664d602e95e1952340286e3b3dda78b469baeb7e9e24ff0cb047278aea9b ostree-2023.6-01-x86_64.pkg.tar.lz
## cf827791e3bf29bb2efadc149545e6eb338097faa1492f2579d66f451a3f042f ostree-2023.6-02-x86_64.pkg.tar.lz

View File

@ -5,11 +5,11 @@
pkgname=ostree
_commit=cf09e9f4e8f10d772a04ebe0ca9f66698e837f6a # tags/v2023.6
pkgver=2023.6
pkgrel=1
pkgrel=2
pkgdesc="Operating system and container binary deployment and upgrades"
url="https://ostreedev.github.io/ostree/"
arch=(x86_64)
license=(custom:LGPL2)
license=(LGPL-2.0-or-later)
depends=(
bash
fuse3
@ -91,7 +91,7 @@ build() {
--enable-gtk-doc
--with-builtin-grub2-mkconfig
--with-curl
--with-dracut
--with-dracut=yesbutnoconf
--with-ed25519-libsodium
--with-mkinitcpio
--with-openssl

View File

@ -6,38 +6,58 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=python-pytest
pkgver=7.4.0
_name=${pkgname#python-}
pkgver=7.4.1
pkgrel=01
pkgdesc="Simple powerful testing with Python"
url="https://pytest.org/"
depends=('python-iniconfig' 'python-packaging' 'python-pluggy') # 'python-attrs' 'python-exceptiongroup' 'python-tomli')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-argcomplete' 'python-attrs' 'python-hypothesis'
'python-nose' 'python-pygments' 'python-requests' 'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof' 'python-decorator' 'python-docutils' 'python-jinja'
'python-numpy' 'python-pexpect' 'python-exceptiongroup'
'python-pytest-xdist' 'python-twisted')
source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-setuptools-scm'
'python-wheel'
)
checkdepends=(
'python-argcomplete'
'python-attrs'
'python-hypothesis'
'python-nose'
'python-pygments'
'python-requests'
'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof'
'python-decorator'
'python-docutils'
'python-exceptiongroup'
'python-jinja'
'python-numpy'
'python-pexpect'
'python-pytest-xdist'
'python-twisted'
)
source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver")
# Remove dep on setuptools_scm
prepare() {
cd pytest-$pkgver
sed -i "/^\[metadata\]/a version = $pkgver
/setuptools-scm/d" setup.cfg
sed -i '/setuptools-scm\|wheel/d
/\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
}
## Remove dep on setuptools_scm
#prepare() {
# cd "$_name"
# sed -i "/^\[metadata\]/a version = $pkgver
# /setuptools-scm/d" setup.cfg
# sed -i '/setuptools-scm\|wheel/d
# /\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
#
#}
build() {
cd pytest-$pkgver
cd "$_name"
python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
cd pytest-$pkgver
cd "$_name"
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
# https://github.com/pytest-dev/pytest/issues/10042
@ -45,13 +65,13 @@ check() {
}
package() {
cd pytest-$pkgver
cd "$_name"
python -m installer --destdir="$pkgdir" dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "$pkgdir"/usr/share/licenses/$pkgname
ln -s "$site_packages"/pytest-$pkgver.dist-info/LICENSE \
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
@ -61,7 +81,7 @@ arch=(x86_64)
license=('MIT')
sha256sums=(b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a) # pytest-7.4.0.tar.gz
sha256sums=(SKIP) # pytest
## 5e3e2c4e1e99c18f7b357f8cd54b8bc95d10e42b2a42e403b93b437501b67e7d python-pytest-7.4.0-01-x86_64.pkg.tar.lz
## 48c586d6c2ecaffe9a6c2673e5e78785d8bd3b8532bbe7d2141744b3dcc75bd0 python-pytest-7.4.1-01-x86_64.pkg.tar.lz

View File

@ -3,42 +3,51 @@
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
pkgname=python-pytest
pkgver=7.4.0
_name=${pkgname#python-}
pkgver=7.4.1
pkgrel=1
pkgdesc="Simple powerful testing with Python"
arch=('any')
license=('MIT')
url="https://pytest.org/"
depends=('python-iniconfig' 'python-packaging' 'python-pluggy')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-argcomplete' 'python-attrs' 'python-hypothesis'
'python-nose' 'python-pygments' 'python-requests'
'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof' 'python-decorator' 'python-docutils'
'python-exceptiongroup' 'python-jinja' 'python-numpy'
'python-pexpect' 'python-pytest-xdist' 'python-twisted')
source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
sha256sums=('b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a')
b2sums=('59b9e90ab226dd317a5beeb0b189d0e323379e781dcca3fc7aa37ab7ef6d623a25f6f50e4b648cd274bdbc202e914fd393749d093a4c9d8c2f19124403d6b4fe')
# Remove dep on setuptools_scm
prepare() {
cd pytest-$pkgver
sed -i "/^\[metadata\]/a version = $pkgver
/setuptools-scm/d" setup.cfg
sed -i '/setuptools-scm\|wheel/d
/\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
}
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-setuptools-scm'
'python-wheel'
)
checkdepends=(
'python-argcomplete'
'python-attrs'
'python-hypothesis'
'python-nose'
'python-pygments'
'python-requests'
'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof'
'python-decorator'
'python-docutils'
'python-exceptiongroup'
'python-jinja'
'python-numpy'
'python-pexpect'
'python-pytest-xdist'
'python-twisted'
)
source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver")
b2sums=('SKIP')
build() {
cd pytest-$pkgver
cd "$_name"
python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
cd pytest-$pkgver
cd "$_name"
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
# https://github.com/pytest-dev/pytest/issues/10042
@ -46,12 +55,12 @@ check() {
}
package() {
cd pytest-$pkgver
cd "$_name"
python -m installer --destdir="$pkgdir" dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "$pkgdir"/usr/share/licenses/$pkgname
ln -s "$site_packages"/pytest-$pkgver.dist-info/LICENSE \
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

View File

@ -1 +1 @@
rm -rf {src,pkg,pytest*.tar.gz}
rm -rf {src,pkg,pytest}

View File

@ -1,3 +1,4 @@
git
python-iniconfig
python-packaging
python-pluggy
@ -21,6 +22,7 @@ python-pygments
python-pytest-xdist
python-twisted
python-typing_extensions
python-exceptiongroup
python-setuptools-scm