upg jave ne python-pytest python-pyudev

This commit is contained in:
joborun linux 2023-04-11 00:06:50 +03:00
parent 0ecef0de9f
commit 7dc78a9c3f
12 changed files with 183 additions and 27 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

44
ne/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=ne
pkgver=3.3.2
pkgrel=02
pkgdesc='The nice editor, a fast small powerful and simple to use msdos like editor'
url='http://ne.di.unimi.it'
depends=(ncurses texinfo)
source=("https://github.com/vigna/${pkgname}/archive/${pkgver}.tar.gz"
"info2src.pl.patch")
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i "${srcdir}"/info2src.pl.patch
}
build() {
cd ${pkgname}-${pkgver}
make -j1 PREFIX=/usr LIBS="-lcurses -ltinfo"
}
package() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR="${pkgdir}" LIBS="-lcurses -ltinfo" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(GPL3)
sha512sums=('591be3eb44419ce5fec8c2a02c06aab95dc7d04aa8eb191219588af1b8851ae86e11b8eace25fa970817ac6451c991354e8c20d591dd4fb45114e1cdb6dd1ec6'
'0c95be21e40572d3feb5db4e73fea67616a5a8b8d4570511bc9267b0ed59c75b2169881faa23adcec8e4f16ea771ba28c12f90b2876672bda3d39796d894a089')
sha256sums=(9b8b757db22bd8cb783cf063f514143a8c325e5c321af31901e0f76e77455417 # 3.3.2.tar.gz
5032208e7263a2f1f10f62071284cd49a069b9bc810f22d42f43b583304532f1) # info2src.pl.patch
## 6742d7fe9e5013894579a1e29a9bd1d9b35ff7080528d66ae338489fe0b1c1ef ne-3.3.2-02-x86_64.pkg.tar.lz

32
ne/PKGBUILD-aur Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Valère Monseur <archlinux at vale dot re>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=ne
pkgver=3.3.2
pkgrel=1
pkgdesc='The nice editor, a fast small powerful and simple to use editor'
arch=(i686 x86_64)
url='http://ne.di.unimi.it'
license=(GPL3)
depends=(ncurses texinfo)
source=("https://github.com/vigna/${pkgname}/archive/${pkgver}.tar.gz"
"info2src.pl.patch")
sha512sums=('591be3eb44419ce5fec8c2a02c06aab95dc7d04aa8eb191219588af1b8851ae86e11b8eace25fa970817ac6451c991354e8c20d591dd4fb45114e1cdb6dd1ec6'
'0c95be21e40572d3feb5db4e73fea67616a5a8b8d4570511bc9267b0ed59c75b2169881faa23adcec8e4f16ea771ba28c12f90b2876672bda3d39796d894a089')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i "${srcdir}"/info2src.pl.patch
}
build() {
cd ${pkgname}-${pkgver}
make -j1 PREFIX=/usr LIBS="-lcurses -ltinfo"
}
package() {
cd ${pkgname}-${pkgver}
make PREFIX=/usr DESTDIR="${pkgdir}" LIBS="-lcurses -ltinfo" install
}

1
ne/clean Normal file
View File

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

0
ne/deps Normal file
View File

53
ne/info2src.pl.patch Normal file
View File

@ -0,0 +1,53 @@
From 90ae494711a06944f0027224cf6a4b4a812d1e95 Mon Sep 17 00:00:00 2001
From: Todd Lewis <utoddl@gmail.com>
Date: Fri, 16 Dec 2022 16:33:40 -0500
Subject: [PATCH] pick smarter quotes if possible; support texinfo 7.0+
---
src/info2src.pl | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/info2src.pl b/src/info2src.pl
index 53935c0..56d4964 100755
--- a/src/info2src.pl
+++ b/src/info2src.pl
@@ -1,6 +1,8 @@
#!/usr/bin/env perl
use strict;
+use utf8;
+use open ':std', ':encoding(UTF-8)';
$| = 1;
# Todd M. Lewis <utoddl@gmail.com>
@@ -65,7 +67,11 @@
my @line = <INFO>;
close INFO;
my $line = join '', @line;
- $line =~ s<\*note *(\s*)(.+?)::> <$1`$2'>gis;
+
+ # Pick left- and right-quote depending on whether our docs contain u+2018 and u+2019 already.
+ my ($lq, $rq) = ($line =~ m/.+?/) ? ('', '') : ("'", "'");
+
+ $line =~ s<\*note *(\s*)(.+?)::> <$1$lq$2$rq>gis;
my $state = 'searching';
my $command;
@@ -74,7 +80,7 @@
chomp;
if ( $state eq 'searching' )
{
- next unless ( m/^(Syntax: )['`](([^ ]+).*)'\s*$/ );
+ next unless ( m/^(Syntax: )['`](([^ ]+).*)[']\s*$/ );
$command = uc $3;
$commands{$command}->{"cmd"} = "$3";
$commands{$command}->{"text"}[0] = "$1$2";
@@ -93,7 +99,7 @@
# print "---2 read \"$_\"\n";
- if ( m/^(Abbreviation: )['`](.+)'/ )
+ if ( m/^(Abbreviation: )['`](.+)[']/ )
{
$commands{$command}->{"abbr"} = "$2";
push @{$commands{$command}->{"text"}}, "$1$2";

6
ne/time Normal file
View File

@ -0,0 +1,6 @@
real 0m27.458s
user 0m37.567s
sys 0m1.942s

View File

@ -6,19 +6,18 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=python-pytest
pkgver=7.2.2
pkgrel=01
pkgver=7.3.0
pkgrel=02
pkgdesc="Simple powerful testing with Python"
url="https://pytest.org/"
depends=('python-attrs' 'python-exceptiongroup' 'python-iniconfig'
'python-packaging' 'python-pluggy' 'python-tomli')
depends=('python-iniconfig' 'python-packaging' 'python-pluggy')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-argcomplete' 'python-hypothesis' 'python-nose'
'python-requests' 'python-xmlschema'
checkdepends=('python-argcomplete' 'python-attrs' 'python-hypothesis'
'python-nose' 'python-requests' 'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof' 'python-asynctest' 'python-decorator' 'python-docutils'
'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments'
'lsof' 'python-decorator' 'python-docutils' 'python-jinja'
'python-numpy' 'python-pexpect' 'python-pygments'
'python-pytest-xdist' 'python-twisted')
source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
@ -62,8 +61,7 @@ arch=(x86_64)
license=('MIT')
sha256sums=(c99ab0c73aceb050f68929bc93af19ab6db0558791c6a0715723abe9d0ade9d4) # pytest-7.2.2.tar.gz
## 11353a68a309a0600766e4e5f1c899b005b37b96fb90eb8948f765ca38ffa4ee python-pytest-7.2.2-01-x86_64.pkg.tar.lz
#sha256sums=(58ecc27ebf0ea643ebfdf7fb1249335da761a00c9f955bcd922349bcb68ee57d) # pytest-7.3.0.tar.gz
## 3891ad6f31242d6ace6f9b73fa1b830664c34d15412dfd89519d1fee16142501 python-pytest-7.3.0-02-x86_64.pkg.tar.lz

View File

@ -3,25 +3,24 @@
# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
pkgname=python-pytest
pkgver=7.2.2
pkgrel=1
pkgver=7.3.0
pkgrel=2
pkgdesc="Simple powerful testing with Python"
arch=('any')
license=('MIT')
url="https://pytest.org/"
depends=('python-attrs' 'python-exceptiongroup' 'python-iniconfig'
'python-packaging' 'python-pluggy' 'python-tomli')
depends=('python-iniconfig' 'python-packaging' 'python-pluggy')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-argcomplete' 'python-hypothesis' 'python-nose'
'python-requests' 'python-xmlschema'
checkdepends=('python-argcomplete' 'python-attrs' 'python-hypothesis'
'python-nose' 'python-requests' 'python-xmlschema'
# Unlisted, but actually used. Check again after a while:
'lsof' 'python-asynctest' 'python-decorator' 'python-docutils'
'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments'
'lsof' 'python-decorator' 'python-docutils' 'python-jinja'
'python-numpy' 'python-pexpect' 'python-pygments'
'python-pytest-xdist' 'python-twisted')
source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz")
sha256sums=('c99ab0c73aceb050f68929bc93af19ab6db0558791c6a0715723abe9d0ade9d4')
b2sums=('51742872c03ccba3b305fdb3015a1c2a8f7dbf2988f267ea13e2add438ae52e2d5a6cace483525cf37f7ea72454bb346b81196c6e043dbbc3e5c0c8a1a365ed7')
sha256sums=('58ecc27ebf0ea643ebfdf7fb1249335da761a00c9f955bcd922349bcb68ee57d')
b2sums=('49057296154775276cc700c309837d85733c3da362ec8e50e5063fccc0615c54bd502574fed86d9b27d3086da630c13f0f87164150a900ab4ae08ab49ff9e0e5')
# Remove dep on setuptools_scm
prepare() {

View File

@ -1,20 +1,17 @@
python-attrs
python-exceptiongroup
python-iniconfig
python-packaging
python-pluggy
python-tomli
python-build
python-installer
python-setuptools
python-wheel
python-argcomplete
python-attrs
python-hypothesis
python-nose
python-requests
python-xmlschema
lsof
python-asynctest
python-decorator
python-docutils
python-jinja

26
python-pytest/old-deps Normal file
View File

@ -0,0 +1,26 @@
python-attrs
python-exceptiongroup
python-iniconfig
python-packaging
python-pluggy
python-tomli
python-build
python-installer
python-setuptools
python-wheel
python-argcomplete
python-hypothesis
python-nose
python-requests
python-xmlschema
lsof
python-asynctest
python-decorator
python-docutils
python-jinja
python-numpy
python-pexpect
python-pygments
python-pytest-xdist
python-twisted

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------