Skip to content

Commit

Permalink
addpkg: python-pytest-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
heavysink committed Dec 28, 2024
1 parent b0e7f0f commit 8ec3dac
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archlinuxcn/dolphin-emu-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _toolpkgname="$_projectname-emu-tool"
pkgbase="$_mainpkgname-git"
pkgname=("$pkgbase" "$_noguipkgname-git" "$_toolpkgname-git")
pkgver=2412.r64.g05cad38abc1
pkgrel=1
pkgrel=2
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
Expand All @@ -20,7 +20,7 @@ depends=(
# Based on the repo package
'bluez-libs' 'bzip2' 'enet' 'gcc-libs' 'glibc' 'hidapi' 'libavcodec.so'
'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so' 'libgl'
'libsfml-network.so' 'libsfml-system.so' 'libspng.so' 'libswscale.so'
'libspng.so' 'libswscale.so'
'libusb-1.0.so' 'libx11' 'libxi' 'libxrandr' 'lz4' 'lzo' 'mbedtls2'
'pugixml' 'sdl2' 'sfml' 'speexdsp' 'xz' 'zstd' 'fmt'
# Addition dependencies to replace vendored deps
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/opendrop/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ post_build: git_pkgbuild_commit
repo_depends:
- python-fleep
- owlink-git
- python-pytest-runner

update_on:
- source: github
Expand Down
33 changes: 33 additions & 0 deletions archlinuxcn/python-pytest-runner/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Maintainer: Felix Yan <[email protected]>

# https://github.com/pytest-dev/pytest-runner#deprecation-notice
pkgname=python-pytest-runner
pkgver=6.0.1
_commit=9d13da8bd36ecd9634629b492315cb28eff44183
pkgrel=2
pkgdesc="Invoke py.test as distutils command with dependency resolution"
arch=('any')
license=('MIT')
url="https://github.com/pytest-dev/pytest-runner"
depends=('python-pytest' 'python-setuptools')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
#checkdepends=('python-pytest-virtualenv' 'python-pytest-enabler')
source=("git+https://github.com/pytest-dev/pytest-runner.git#commit=$_commit")
sha512sums=('SKIP')

build() {
cd pytest-runner
python -m build --wheel --no-isolation
}

# Tries to import barbazquux2
#check() {
# cd pytest-runner
# PYTHONPATH="$PWD" pytest
#}

package() {
cd pytest-runner
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
15 changes: 15 additions & 0 deletions archlinuxcn/python-pytest-runner/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file is auto-generated by n2y

maintainers:
- github: heavysink
email: [email protected]

build_prefix: extra-x86_64

pre_build_script: aur_pre_build(maintainers=['daizhirui'])

post_build: aur_post_build

update_on:
- source: aur
aur:

0 comments on commit 8ec3dac

Please sign in to comment.