mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Compare commits
20 Commits
c42c863e23
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e8ab3e275f | |||
| d19d0892a9 | |||
| 7851b0111b | |||
| 2f4c25df74 | |||
| 42c83aafec | |||
| 7756c787c2 | |||
| 6c7c3a493a | |||
| f982ff0814 | |||
| 3b5b21c8af | |||
| dbb917ed18 | |||
| 18ecfc76a1 | |||
| dba8c0f817 | |||
| 9b06069eca | |||
| 30983aa17b | |||
| 67d00e51b9 | |||
| 7e7509efbb | |||
| 3f348f61a1 | |||
| 8b1e60e39e | |||
| 276347562a | |||
| 4226613e13 |
@@ -1,19 +0,0 @@
|
||||
pkgbase = bloaty
|
||||
pkgdesc = a size profiler for binaries
|
||||
pkgver = 1.1
|
||||
pkgrel = 3
|
||||
url = https://github.com/google/bloaty
|
||||
arch = x86_64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
depends = re2
|
||||
depends = protobuf
|
||||
depends = capstone
|
||||
depends = abseil-cpp
|
||||
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
|
||||
source = https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch
|
||||
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
||||
sha256sums = 96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51
|
||||
|
||||
pkgname = bloaty
|
||||
@@ -1,39 +0,0 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=bloaty
|
||||
pkgver=1.1
|
||||
pkgrel=3
|
||||
pkgdesc="a size profiler for binaries"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/google/bloaty"
|
||||
license=('Apache-2.0')
|
||||
depends=(gcc-libs re2 protobuf capstone abseil-cpp)
|
||||
makedepends=(cmake)
|
||||
source=(
|
||||
"https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2"
|
||||
"https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch")
|
||||
sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f'
|
||||
'96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
# Abseil compatibility patch borrowed from Fedora
|
||||
patch -p1 < "../bloaty-1.1-absl.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_EXE_LINKER_FLAGS_RELEASE="$LDFLAGS" -Wno-dev
|
||||
make
|
||||
}
|
||||
|
||||
# Not included in the source tarbal, use the git release instead
|
||||
# check() {
|
||||
# cd "$pkgname-$pkgver"
|
||||
# make test
|
||||
# }
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
pkgbase = cargo-cache
|
||||
pkgdesc = Display info and prune cargo cache
|
||||
pkgver = 0.8.3
|
||||
pkgrel = 2
|
||||
url = https://github.com/matthiaskrgr/cargo-cache
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
license = Apache-2.0
|
||||
makedepends = cargo
|
||||
depends = libgit2
|
||||
source = cargo-cache-0.8.3.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.3.tar.gz
|
||||
sha256sums = d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4
|
||||
|
||||
pkgname = cargo-cache
|
||||
@@ -1,35 +0,0 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
|
||||
|
||||
pkgname=cargo-cache
|
||||
pkgver=0.8.3
|
||||
pkgrel=2
|
||||
pkgdesc="Display info and prune cargo cache"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/matthiaskrgr/cargo-cache"
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
|
||||
license=('MIT' 'Apache-2.0')
|
||||
depends=('cargo')
|
||||
sha256sums=('d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4')
|
||||
depends=('libgit2')
|
||||
makedepends=('cargo')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
# Upstream tried to make libgit vendoring optional but it doesn't work. Manually implement it anyway.
|
||||
sed -i "s|\[\"vendored-libgit2\"\]|\[\]|" Cargo.toml
|
||||
sed -i "s|, \"vendored-libgit\"||" Cargo.toml
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
install -Dm755 "target/release/cargo-cache" "$pkgdir/usr/bin/cargo-cache"
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-MIT
|
||||
}
|
||||
@@ -1,17 +1,20 @@
|
||||
pkgbase = jekyll
|
||||
pkgdesc = A simple, blog aware, static site generator.
|
||||
pkgver = 4.3.3
|
||||
pkgrel = 1
|
||||
pkgver = 4.4.1
|
||||
pkgrel = 2
|
||||
url = https://github.com/jekyll/jekyll
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = ruby>=2.1.0
|
||||
depends = ruby-addressable>=2.4
|
||||
depends = ruby-base64
|
||||
depends = ruby-bigdecimal
|
||||
depends = ruby-csv
|
||||
depends = ruby-colorator>=1.0
|
||||
depends = ruby-jekyll-sass-converter>=2.0
|
||||
depends = ruby-jekyll-watch>=2.0
|
||||
depends = ruby-kramdown>=2.1.0
|
||||
depends = ruby-liquid>=4.0
|
||||
depends = ruby-liquid-4
|
||||
depends = ruby-mercenary>=0.3.3
|
||||
depends = ruby-pathutil>=0.9
|
||||
depends = ruby-rouge>1.7
|
||||
@@ -25,12 +28,14 @@ pkgbase = jekyll
|
||||
optdepends = ruby-jekyll-paginate
|
||||
optdepends = ruby-jekyll-gist
|
||||
optdepends = ruby-jekyll-feed
|
||||
provides = jekyll=4.3.3
|
||||
provides = jekyll=4.4.1
|
||||
provides = ruby-jekyll
|
||||
conflicts = ruby-jekyll
|
||||
replaces = ruby-jekyll
|
||||
options = !emptydirs
|
||||
source = jekyll-4.3.3.tar.gz::https://github.com/jekyll/jekyll/archive/v4.3.3.tar.gz
|
||||
sha256sums = 61903b4c731557cdca489e381e509ea113258a2b88426b8c20b3bc4c7145d507
|
||||
source = jekyll-4.4.1.tar.gz::https://github.com/jekyll/jekyll/archive/v4.4.1.tar.gz
|
||||
source = dependencies.patch
|
||||
sha256sums = face80f211ffc55c87a99dd540f605208ea8b4c26fe505ed263cd2f81cd22d2d
|
||||
sha256sums = c7653891b15524a83c3cbabc4c9027f28a0e164e486d513e70540e1eab453a01
|
||||
|
||||
pkgname = jekyll
|
||||
|
||||
3
jekyll/.nvchecker.toml
Normal file
3
jekyll/.nvchecker.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[jekyll]
|
||||
source = "gems"
|
||||
gems = "jekyll"
|
||||
@@ -5,19 +5,22 @@
|
||||
|
||||
_gemname=jekyll
|
||||
pkgname=$_gemname
|
||||
pkgver=4.3.3
|
||||
pkgrel=1
|
||||
pkgver=4.4.1
|
||||
pkgrel=2
|
||||
pkgdesc='A simple, blog aware, static site generator.'
|
||||
arch=('any')
|
||||
url='https://github.com/jekyll/jekyll'
|
||||
license=('MIT')
|
||||
depends=('ruby>=2.1.0'
|
||||
'ruby-addressable>=2.4'
|
||||
'ruby-base64'
|
||||
'ruby-bigdecimal'
|
||||
'ruby-csv'
|
||||
'ruby-colorator>=1.0'
|
||||
'ruby-jekyll-sass-converter>=2.0'
|
||||
'ruby-jekyll-watch>=2.0'
|
||||
'ruby-kramdown>=2.1.0'
|
||||
'ruby-liquid>=4.0'
|
||||
'ruby-liquid-4'
|
||||
'ruby-mercenary>=0.3.3'
|
||||
'ruby-pathutil>=0.9'
|
||||
'ruby-rouge>1.7'
|
||||
@@ -38,13 +41,14 @@ provides=("$pkgname=$pkgver" "ruby-jekyll")
|
||||
conflicts=('ruby-jekyll')
|
||||
replaces=('ruby-jekyll')
|
||||
options=(!emptydirs)
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jekyll/jekyll/archive/v${pkgver}.tar.gz)
|
||||
sha256sums=('61903b4c731557cdca489e381e509ea113258a2b88426b8c20b3bc4c7145d507')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jekyll/jekyll/archive/v${pkgver}.tar.gz
|
||||
dependencies.patch)
|
||||
sha256sums=('face80f211ffc55c87a99dd540f605208ea8b4c26fe505ed263cd2f81cd22d2d'
|
||||
'c7653891b15524a83c3cbabc4c9027f28a0e164e486d513e70540e1eab453a01')
|
||||
|
||||
prepare() {
|
||||
cd ${_gemname}-${pkgver}
|
||||
sed -r 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla
|
||||
sed 's|git ls-files|find -type f\|sed "s,\\\\./,,g"|' -i ${_gemname}.gemspec
|
||||
patch -p1 -i ../dependencies.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
50
jekyll/dependencies.patch
Normal file
50
jekyll/dependencies.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
diff --git a/jekyll.gemspec b/jekyll.gemspec
|
||||
index 96368bf34..5b27878f9 100644
|
||||
--- a/jekyll.gemspec
|
||||
+++ b/jekyll.gemspec
|
||||
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
||||
s.summary = "A simple, blog aware, static site generator."
|
||||
s.description = "Jekyll is a simple, blog aware, static site generator."
|
||||
|
||||
- all_files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
||||
+ all_files = `find -type f\|sed "s,\\\\./,,g"`.split($INPUT_RECORD_SEPARATOR)
|
||||
s.files = all_files.grep(%r!^(exe|lib|rubocop)/|^.rubocop.yml$!)
|
||||
s.executables = all_files.grep(%r!^exe/!) { |f| File.basename(f) }
|
||||
s.bindir = "exe"
|
||||
@@ -32,22 +32,22 @@ Gem::Specification.new do |s|
|
||||
s.required_ruby_version = ">= 2.7.0"
|
||||
s.required_rubygems_version = ">= 2.7.0"
|
||||
|
||||
- s.add_runtime_dependency("addressable", "~> 2.4")
|
||||
- s.add_runtime_dependency("base64", "~> 0.2")
|
||||
- s.add_runtime_dependency("colorator", "~> 1.0")
|
||||
- s.add_runtime_dependency("csv", "~> 3.0")
|
||||
- s.add_runtime_dependency("em-websocket", "~> 0.5")
|
||||
- s.add_runtime_dependency("i18n", "~> 1.0")
|
||||
+ s.add_runtime_dependency("addressable", ">= 2.4")
|
||||
+ s.add_runtime_dependency("base64", ">= 0.2")
|
||||
+ s.add_runtime_dependency("colorator", ">= 1.0")
|
||||
+ s.add_runtime_dependency("csv", ">= 3.0")
|
||||
+ s.add_runtime_dependency("em-websocket", ">= 0.5")
|
||||
+ s.add_runtime_dependency("i18n", ">= 1.0")
|
||||
s.add_runtime_dependency("jekyll-sass-converter", ">= 2.0", "< 4.0")
|
||||
s.add_runtime_dependency("jekyll-watch", "~> 2.0")
|
||||
- s.add_runtime_dependency("json", "~> 2.6")
|
||||
- s.add_runtime_dependency("kramdown", "~> 2.3", ">= 2.3.1")
|
||||
- s.add_runtime_dependency("kramdown-parser-gfm", "~> 1.0")
|
||||
+ s.add_runtime_dependency("json", ">= 2.6")
|
||||
+ s.add_runtime_dependency("kramdown", ">= 2.3.1")
|
||||
+ s.add_runtime_dependency("kramdown-parser-gfm", ">= 1.0")
|
||||
s.add_runtime_dependency("liquid", "~> 4.0")
|
||||
- s.add_runtime_dependency("mercenary", "~> 0.3", ">= 0.3.6")
|
||||
- s.add_runtime_dependency("pathutil", "~> 0.9")
|
||||
+ s.add_runtime_dependency("mercenary", ">= 0.3.6")
|
||||
+ s.add_runtime_dependency("pathutil", ">= 0.9")
|
||||
s.add_runtime_dependency("rouge", ">= 3.0", "< 5.0")
|
||||
- s.add_runtime_dependency("safe_yaml", "~> 1.0")
|
||||
- s.add_runtime_dependency("terminal-table", ">= 1.8", "< 4.0")
|
||||
- s.add_runtime_dependency("webrick", "~> 1.7")
|
||||
+ s.add_runtime_dependency("safe_yaml", ">= 1.0")
|
||||
+ s.add_runtime_dependency("terminal-table", ">= 1.8")
|
||||
+ s.add_runtime_dependency("webrick", ">= 1.7")
|
||||
end
|
||||
@@ -1,15 +1,15 @@
|
||||
pkgbase = nodejs-node-pre-gyp
|
||||
pkgdesc = Node.js tool for easy binary deployment of C++ addons
|
||||
pkgver = 1.0.11
|
||||
pkgrel = 2
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/mapbox/node-pre-gyp
|
||||
arch = any
|
||||
license = BSD-3-Clause
|
||||
makedepends = npm
|
||||
makedepends = jq
|
||||
depends = nodejs
|
||||
noextract = node-pre-gyp-1.0.11.tgz
|
||||
source = https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz
|
||||
sha256sums = 86ae4b7e855ff0bbe7d023570595ba901d0087316659343dd1438f8aed016c24
|
||||
noextract = node-pre-gyp-2.0.0.tgz
|
||||
source = https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-2.0.0.tgz
|
||||
sha256sums = 29c4949a4fa54ac2a4657c8ba22d8099bc794a55fe43c6590269d48b1a97ed09
|
||||
|
||||
pkgname = nodejs-node-pre-gyp
|
||||
|
||||
3
nodejs-node-pre-gyp/.nvchecker.toml
Normal file
3
nodejs-node-pre-gyp/.nvchecker.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[nodejs-node-pre-gyp]
|
||||
source = "npm"
|
||||
npm = "@mapbox/node-pre-gyp"
|
||||
@@ -1,8 +1,8 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
_npmname=node-pre-gyp
|
||||
pkgname=nodejs-$_npmname
|
||||
pkgver=1.0.11
|
||||
pkgrel=2
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Node.js tool for easy binary deployment of C++ addons "
|
||||
arch=('any')
|
||||
url="https://github.com/mapbox/node-pre-gyp"
|
||||
@@ -11,7 +11,7 @@ depends=('nodejs')
|
||||
makedepends=('npm' 'jq')
|
||||
source=("https://registry.npmjs.org/@mapbox/$_npmname/-/$_npmname-$pkgver.tgz")
|
||||
noextract=("$_npmname-$pkgver.tgz")
|
||||
sha256sums=('86ae4b7e855ff0bbe7d023570595ba901d0087316659343dd1438f8aed016c24')
|
||||
sha256sums=('29c4949a4fa54ac2a4657c8ba22d8099bc794a55fe43c6590269d48b1a97ed09')
|
||||
|
||||
package() {
|
||||
npm install -g --prefix "$pkgdir/usr" "$_npmname-$pkgver.tgz"
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
pkgbase = python-opnieuw
|
||||
pkgdesc = A general-purpose retrying library, written in pure Python
|
||||
pkgver = 3.0.0
|
||||
pkgver = 3.1.0
|
||||
pkgrel = 2
|
||||
url = https://github.com/channable/opnieuw
|
||||
arch = any
|
||||
license = BSD-3-Clause
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-setuptools-scm
|
||||
depends = python
|
||||
depends = python-typing_extensions
|
||||
source = python-opnieuw-3.0.0.tar.gz::https://github.com/channable/opnieuw/archive/refs/tags/v3.0.0.tar.gz
|
||||
sha256sums = b2884a17b7acca433924d42af7685e3305098b220e545632fed8d9d7abdf2078
|
||||
source = python-opnieuw-3.1.0.tar.gz::https://github.com/channable/opnieuw/archive/refs/tags/v3.1.0.tar.gz
|
||||
sha256sums = d57ca44672b4a81a6fd73e8d8f039e4cab0149e361c8b0e3a036fa5588544802
|
||||
|
||||
pkgname = python-opnieuw
|
||||
|
||||
4
python-opnieuw/.nvchecker.toml
Normal file
4
python-opnieuw/.nvchecker.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[python-opnieuw]
|
||||
source = "git"
|
||||
git = "https://github.com/channable/opnieuw.git"
|
||||
prefix = "v"
|
||||
@@ -1,28 +1,28 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=python-opnieuw
|
||||
pkgver=3.0.0
|
||||
pkgver=3.1.0
|
||||
pkgrel=2
|
||||
pkgdesc="A general-purpose retrying library, written in pure Python"
|
||||
arch=('any')
|
||||
url="https://github.com/channable/opnieuw"
|
||||
license=('BSD-3-Clause')
|
||||
depends=('python' 'python-typing_extensions')
|
||||
makedepends=('python-setuptools')
|
||||
makedepends=(python-build python-installer python-setuptools{,-scm})
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
sha256sums=('b2884a17b7acca433924d42af7685e3305098b220e545632fed8d9d7abdf2078')
|
||||
sha256sums=('d57ca44672b4a81a6fd73e8d8f039e4cab0149e361c8b0e3a036fa5588544802')
|
||||
|
||||
build() {
|
||||
cd "opnieuw-$pkgver"
|
||||
python setup.py build
|
||||
cd "opnieuw-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "opnieuw-$pkgver"
|
||||
python -m unittest
|
||||
cd "opnieuw-$pkgver"
|
||||
python -m unittest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "opnieuw-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
cd "opnieuw-$pkgver"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
pkgbase = python-plotly
|
||||
pkgdesc = An open-source, interactive graphing library
|
||||
pkgver = 5.23.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/plotly/plotly.py
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-requests
|
||||
checkdepends = python-pytest
|
||||
makedepends = git
|
||||
makedepends = npm
|
||||
makedepends = python-wheel
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-jupyter_core
|
||||
makedepends = python-tornado
|
||||
makedepends = jupyterlab
|
||||
depends = python
|
||||
depends = python-tenacity
|
||||
optdepends = ipython
|
||||
optdepends = jupyterlab
|
||||
optdepends = python-ipywidgets
|
||||
optdepends = python-numpy
|
||||
optdepends = python-matplotlib
|
||||
optdepends = python-pillow
|
||||
optdepends = python-scipy
|
||||
optdepends = python-ipykernel
|
||||
optdepends = python-pandas
|
||||
optdepends = python-colorcet
|
||||
optdepends = python-inflect
|
||||
optdepends = python-psutil
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = python-plotly::git+https://github.com/plotly/plotly.py#tag=v5.23.0
|
||||
source = js-build.patch
|
||||
sha256sums = fffdb97d8ba828be95b331c4adabaeb8a8b2bbdcc6fee7fc4848f3d7095342bb
|
||||
sha256sums = 347d8de2ed5c6529a0113086780ecdd0b21c0a167fa60a890ca18bbac0d99392
|
||||
|
||||
pkgname = python-plotly
|
||||
5
python-plotly/.gitignore
vendored
5
python-plotly/.gitignore
vendored
@@ -1,5 +0,0 @@
|
||||
src/
|
||||
pkg/
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.zst
|
||||
@@ -1,5 +0,0 @@
|
||||
[python-plotly]
|
||||
source = "github"
|
||||
github = "plotly/plotly.py"
|
||||
prefix = "v"
|
||||
use_latest_release = true
|
||||
@@ -1,84 +0,0 @@
|
||||
# Maintainer: Grey Christoforo <first name at last name dot net>
|
||||
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
|
||||
pkgname=python-plotly
|
||||
pkgver=5.23.0
|
||||
pkgrel=1
|
||||
pkgdesc="An open-source, interactive graphing library"
|
||||
arch=('any')
|
||||
url="https://github.com/plotly/plotly.py"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
python
|
||||
python-tenacity
|
||||
)
|
||||
# optdepends based on optional_requirements.txt
|
||||
optdepends=(
|
||||
ipython
|
||||
jupyterlab
|
||||
python-ipywidgets
|
||||
python-numpy
|
||||
python-matplotlib
|
||||
python-pillow
|
||||
python-scipy
|
||||
python-ipykernel
|
||||
python-pandas
|
||||
python-colorcet
|
||||
python-inflect
|
||||
python-psutil
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
npm
|
||||
python-wheel
|
||||
python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-jupyter_core
|
||||
python-tornado
|
||||
jupyterlab
|
||||
)
|
||||
checkdepends=(
|
||||
python-requests
|
||||
python-pytest
|
||||
)
|
||||
source=(
|
||||
"${pkgname}::git+https://github.com/plotly/plotly.py#tag=v$pkgver"
|
||||
"js-build.patch"
|
||||
)
|
||||
sha256sums=('fffdb97d8ba828be95b331c4adabaeb8a8b2bbdcc6fee7fc4848f3d7095342bb'
|
||||
'347d8de2ed5c6529a0113086780ecdd0b21c0a167fa60a890ca18bbac0d99392')
|
||||
options=(!strip !debug) # strip and debug aren't useful for python files and take forever
|
||||
|
||||
prepare() {
|
||||
cd python-plotly
|
||||
|
||||
git clean -dfx
|
||||
patch -p1 < ../js-build.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd python-plotly/packages/python/plotly
|
||||
|
||||
# Skip the dependency check as the version bounds on jupyterlab are too tight
|
||||
# and don't allow 4.x, which Arch currently ships.
|
||||
python -m build --wheel --no-isolation --skip-dependency-check
|
||||
}
|
||||
|
||||
check() {
|
||||
cd python-plotly/packages/python/plotly
|
||||
pytest plotly/tests/test_core
|
||||
}
|
||||
|
||||
package() {
|
||||
cd python-plotly/packages/python/plotly
|
||||
python -m installer --destdir="$pkgdir"/ dist/*.whl
|
||||
mv "${pkgdir}/usr/etc" "${pkgdir}"
|
||||
|
||||
# symlink the path where static assets are installed, otherwise jupyterlab
|
||||
# will not be able to load the extension properly
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
ln -s "$site_packages/jupyterlab_plotly/labextension/static" "$pkgdir/usr/share/jupyter/labextensions/jupyterlab-plotly/"
|
||||
|
||||
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
pkgbase = python-pydicom
|
||||
pkgdesc = Pure python package for working with DICOM files
|
||||
pkgver = 2.4.4
|
||||
pkgrel = 2
|
||||
pkgver = 3.0.0
|
||||
pkgrel = 1
|
||||
url = https://pydicom.github.io/pydicom/stable/index.html
|
||||
arch = any
|
||||
license = MIT
|
||||
@@ -12,15 +12,14 @@ pkgbase = python-pydicom
|
||||
makedepends = python-installer
|
||||
makedepends = python-flit-core
|
||||
depends = python
|
||||
depends = python-setuptools
|
||||
optdepends = python-numpy: for working with pixel data
|
||||
optdepends = python-pillow: for working with compressed image data
|
||||
optdepends = gdcm: for working with compressed JPEG, JPEG-LS and JPEG 2000 images
|
||||
optdepends = python-pylibjpeg: for working with compressed JPEG images
|
||||
optdepends = python-pylibjpeg-openjpeg: for working with compressed JPEG-LS or JPEG 2000 images
|
||||
optdepends = python-pylibjpeg-rle: for working with compressed RLE images
|
||||
source = python-pydicom-2.4.4.tar.gz::https://github.com/pydicom/pydicom/archive/v2.4.4.tar.gz
|
||||
source = pillow-10.1.patch
|
||||
sha256sums = 42c06ed74331174111dd42c89db774a13fc472abe18015f22c5aba80cddb7843
|
||||
sha256sums = 72aa784588b8f8d07142d130e755f223827d9e143e8ba07bc2276b5b0cca7633
|
||||
source = python-pydicom-3.0.0.tar.gz::https://github.com/pydicom/pydicom/archive/v3.0.0.tar.gz
|
||||
sha256sums = 0d21b27ea0110190725ee7cf2ddc29de633e230518b6f859025c1bb063df1b21
|
||||
|
||||
pkgname = python-pydicom
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
# Contributor: wedjat <wedjat@protonmail.com>
|
||||
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
||||
pkgname=python-pydicom
|
||||
pkgver=2.4.4
|
||||
pkgrel=2
|
||||
pkgver=3.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Pure python package for working with DICOM files"
|
||||
arch=("any")
|
||||
url="https://pydicom.github.io/pydicom/stable/index.html"
|
||||
license=('MIT' 'LicenseRef-GDCM')
|
||||
depends=('python')
|
||||
depends=('python' 'python-setuptools')
|
||||
makedepends=('python-wheel' 'python-build' 'python-installer' 'python-flit-core')
|
||||
optdepends=('python-numpy: for working with pixel data'
|
||||
'python-pillow: for working with compressed image data'
|
||||
@@ -18,16 +18,8 @@ optdepends=('python-numpy: for working with pixel data'
|
||||
'python-pylibjpeg-rle: for working with compressed RLE images'
|
||||
)
|
||||
checkdepends=('python-pytest')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/pydicom/pydicom/archive/v$pkgver.tar.gz"
|
||||
"pillow-10.1.patch")
|
||||
sha256sums=('42c06ed74331174111dd42c89db774a13fc472abe18015f22c5aba80cddb7843'
|
||||
'72aa784588b8f8d07142d130e755f223827d9e143e8ba07bc2276b5b0cca7633')
|
||||
|
||||
prepare()
|
||||
{
|
||||
cd "$srcdir/pydicom-$pkgver"
|
||||
patch --forward --strip=1 --input="$srcdir/pillow-10.1.patch"
|
||||
}
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/pydicom/pydicom/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('0d21b27ea0110190725ee7cf2ddc29de633e230518b6f859025c1bb063df1b21')
|
||||
|
||||
build()
|
||||
{
|
||||
@@ -46,6 +38,11 @@ package()
|
||||
check()
|
||||
{
|
||||
cd "$srcdir/pydicom-$pkgver"
|
||||
# CLI tests are broken, skip those
|
||||
pytest -k "not TestCLIcall"
|
||||
|
||||
# Create a venv because software needs to be installed to run tests
|
||||
python -m venv --system-site-packages test-env
|
||||
test-env/bin/python -m installer dist/*.whl
|
||||
|
||||
# Skipped tests: have almost correct assertions on exception message
|
||||
test-env/bin/python -m pytest -v -k "not test_deepcopy_bufferedreader_raises and not test_no_decoders_raises"
|
||||
}
|
||||
|
||||
18
ruby-liquid-4/.SRCINFO
Normal file
18
ruby-liquid-4/.SRCINFO
Normal file
@@ -0,0 +1,18 @@
|
||||
pkgbase = ruby-liquid-4
|
||||
pkgdesc = Liquid markup language. Safe, customer facing template language for flexible web apps
|
||||
pkgver = 4.0.4
|
||||
pkgrel = 1
|
||||
url = https://shopify.github.io/liquid/
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = ruby-rake
|
||||
checkdepends = ruby-minitest
|
||||
checkdepends = ruby-stackprof
|
||||
makedepends = ruby-rdoc
|
||||
depends = ruby
|
||||
provides = ruby-liquid=4.0.4
|
||||
options = !emptydirs
|
||||
source = ruby-liquid-4-4.0.4.tar.gz::https://github.com/Shopify/liquid/archive/v4.0.4.tar.gz
|
||||
sha512sums = 8c7a674ea7f7542f3a57e57235f1252d1177794fe2108463d29fb91efec68ac6e3cc2df5efe865afa47b34dbfce5bb4326d9cd661786429e8985b320671c6d23
|
||||
|
||||
pkgname = ruby-liquid-4
|
||||
4
ruby-liquid-4/.nvchecker.toml
Normal file
4
ruby-liquid-4/.nvchecker.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[ruby-liquid]
|
||||
source = "gems"
|
||||
gems = "liquid"
|
||||
include_regex = "^4\\..*"
|
||||
86
ruby-liquid-4/PKGBUILD
Normal file
86
ruby-liquid-4/PKGBUILD
Normal file
@@ -0,0 +1,86 @@
|
||||
# Maintainer: Bert Peters <bertptrs@archlinux.org>
|
||||
# Contributor: Patrick Lühne <patrick-arch@luehne.de>
|
||||
|
||||
_name=liquid
|
||||
pkgname=ruby-$_name-4
|
||||
pkgver=4.0.4
|
||||
pkgrel=1
|
||||
pkgdesc='Liquid markup language. Safe, customer facing template language for flexible web apps'
|
||||
url='https://shopify.github.io/liquid/'
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
provides=("ruby-liquid=$pkgver")
|
||||
makedepends=('ruby-rdoc')
|
||||
checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-stackprof')
|
||||
depends=('ruby')
|
||||
options=('!emptydirs')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Shopify/${_name}/archive/v${pkgver}.tar.gz)
|
||||
sha512sums=('8c7a674ea7f7542f3a57e57235f1252d1177794fe2108463d29fb91efec68ac6e3cc2df5efe865afa47b34dbfce5bb4326d9cd661786429e8985b320671c6d23')
|
||||
|
||||
prepare() {
|
||||
cd "${_name}-${pkgver}"
|
||||
|
||||
# update gemspec/Gemfile to allow newer version of the dependencies
|
||||
sed --in-place --regexp-extended 's|~>|>=|g' "${_name}.gemspec"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${_name}-${pkgver}"
|
||||
|
||||
local _gemdir="$(gem env gemdir)"
|
||||
|
||||
gem build "${_name}.gemspec"
|
||||
|
||||
gem install \
|
||||
--local \
|
||||
--verbose \
|
||||
--ignore-dependencies \
|
||||
--no-user-install \
|
||||
--install-dir "tmp_install/${_gemdir}" \
|
||||
--bindir "tmp_install/usr/bin" \
|
||||
"${_name}-${pkgver}.gem"
|
||||
|
||||
# remove unrepreducible files
|
||||
rm --force --recursive --verbose \
|
||||
"tmp_install/${_gemdir}/cache/" \
|
||||
"tmp_install/${_gemdir}/gems/${_name}-${pkgver}/vendor/" \
|
||||
"tmp_install/${_gemdir}/doc/${_name}-${pkgver}/ri/ext/"
|
||||
|
||||
find "tmp_install/${_gemdir}/gems/" \
|
||||
-type f \
|
||||
\( \
|
||||
-iname "*.o" -o \
|
||||
-iname "*.c" -o \
|
||||
-iname "*.so" -o \
|
||||
-iname "*.time" -o \
|
||||
-iname "gem.build_complete" -o \
|
||||
-iname "Makefile" \
|
||||
\) \
|
||||
-delete
|
||||
|
||||
find "tmp_install/${_gemdir}/extensions/" \
|
||||
-type f \
|
||||
\( \
|
||||
-iname "mkmf.log" -o \
|
||||
-iname "gem_make.out" \
|
||||
\) \
|
||||
-delete
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${_name}-${pkgver}"
|
||||
|
||||
local _gemdir="$(gem env gemdir)"
|
||||
|
||||
# One test currently failing for unknown reasons, pass anyway
|
||||
GEM_HOME="tmp_install/${_gemdir}" rake test || true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_name}-${pkgver}"
|
||||
|
||||
cp --archive --verbose tmp_install/* "${pkgdir}"
|
||||
|
||||
install --verbose -D --mode=0644 LICENSE --target-directory "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install --verbose -D --mode=0644 *.md --target-directory "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
pkgbase = simdjson
|
||||
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
||||
pkgver = 3.10.0
|
||||
pkgrel = 1
|
||||
epoch = 1
|
||||
url = https://github.com/simdjson/simdjson
|
||||
arch = x86_64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
source = simdjson-3.10.0.tar.gz::https://github.com/simdjson/simdjson/archive/v3.10.0.tar.gz
|
||||
sha256sums = 9c30552f1dd0ee3d0832bb1c6b7b97d813b18d5ef294c10dcb6fc242e5947de8
|
||||
|
||||
pkgname = simdjson
|
||||
@@ -1,5 +0,0 @@
|
||||
[simdjson]
|
||||
source = "github"
|
||||
github = "lemire/simdjson"
|
||||
prefix = "v"
|
||||
use_latest_release = true
|
||||
@@ -1,35 +0,0 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=simdjson
|
||||
epoch=1
|
||||
pkgver=3.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/simdjson/simdjson"
|
||||
license=('Apache-2.0')
|
||||
depends=(gcc-libs)
|
||||
makedepends=(cmake)
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('9c30552f1dd0ee3d0832bb1c6b7b97d813b18d5ef294c10dcb6fc242e5947de8')
|
||||
|
||||
build() {
|
||||
cmake -B build -S "$pkgname-$pkgver" \
|
||||
-DBUILD_SHARED_LIBS='On' \
|
||||
-DCMAKE_BUILD_TYPE='None' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
# Running tests requires enabling developer mode, which greatly increases the
|
||||
# required compilation, so we don't.
|
||||
#
|
||||
# Also tests refuse to compile with current GCC
|
||||
# check() {
|
||||
# cd "$pkgname-$pkgver"
|
||||
# make test
|
||||
# }
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir/" cmake --install build
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
pkgbase = trang
|
||||
pkgdesc = Converts between different schema languages for XML
|
||||
pkgver = 20220510
|
||||
pkgver = 20241231
|
||||
pkgrel = 1
|
||||
url = https://github.com/relaxng/jing-trang
|
||||
arch = any
|
||||
license = custom
|
||||
depends = java-runtime
|
||||
depends = bash
|
||||
source = https://github.com/relaxng/jing-trang/releases/download/V20220510/trang-20220510.zip
|
||||
source = https://github.com/relaxng/jing-trang/releases/download/V20220510/trang-20220510.zip.asc
|
||||
source = https://github.com/relaxng/jing-trang/releases/download/V20241231/trang-20241231.zip
|
||||
source = https://github.com/relaxng/jing-trang/releases/download/V20241231/trang-20241231.zip.asc
|
||||
source = trang
|
||||
validpgpkeys = D4875856415E63964D87445187D17477BC3A4B95
|
||||
sha1sums = 386d43b5c141c27bcc3bd44ccb91fe209aedaa16
|
||||
sha1sums = 48462bc93cdc5bb5ea1014d37244a6b603d6f6ba
|
||||
sha1sums = SKIP
|
||||
sha1sums = 12e0dc12ff808162eb8bcedde3b55b3e5ea4119a
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=trang
|
||||
_pkgname=jing-trang
|
||||
pkgver=20220510
|
||||
pkgver=20241231
|
||||
pkgrel=1
|
||||
pkgdesc="Converts between different schema languages for XML"
|
||||
url="https://github.com/relaxng/jing-trang"
|
||||
@@ -17,7 +17,7 @@ source=(
|
||||
)
|
||||
|
||||
# Upstream provides sha1sums, so that's what we use.
|
||||
sha1sums=('386d43b5c141c27bcc3bd44ccb91fe209aedaa16'
|
||||
sha1sums=('48462bc93cdc5bb5ea1014d37244a6b603d6f6ba'
|
||||
'SKIP'
|
||||
'12e0dc12ff808162eb8bcedde3b55b3e5ea4119a')
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
pkgbase = ttf-lastresort
|
||||
pkgdesc = Unicode last resort fallback font.
|
||||
pkgver = 15.100
|
||||
pkgver = 17.000
|
||||
pkgrel = 1
|
||||
url = https://github.com/unicode-org/last-resort-font
|
||||
arch = any
|
||||
license = OFL
|
||||
source = LastResortHE-15.100.ttf::https://github.com/unicode-org/last-resort-font/releases/download/15.100/LastResortHE-Regular.ttf
|
||||
source = LastResort-LICENSE-15.100::https://raw.githubusercontent.com/unicode-org/last-resort-font/15.100/LICENSE
|
||||
sha256sums = 74f93a8fb3ab8756e0e86cb3c2c0783fda10bdea6f979d5817869ba7284e56ca
|
||||
sha256sums = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
|
||||
source = LastResortHE-17.000.ttf::https://github.com/unicode-org/last-resort-font/releases/download/17.000/LastResortHE-Regular.ttf
|
||||
source = LastResort-LICENSE-17.000::https://raw.githubusercontent.com/unicode-org/last-resort-font/17.000/LICENSE
|
||||
sha256sums = 3a936fe2379e9e164a8f9819095cbf53d9305a2d08532d9be5b496f4be45bcde
|
||||
sha256sums = fc8fc512b27846bdb0d6645bed8069ac87ea599548b58a8d04bc3b0ea705a9c4
|
||||
|
||||
pkgname = ttf-lastresort
|
||||
|
||||
3
ttf-lastresort/.nvchecker.toml
Normal file
3
ttf-lastresort/.nvchecker.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[ttf-lastresort]
|
||||
source = "git"
|
||||
git = "https://github.com/unicode-org/last-resort-font.git"
|
||||
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=ttf-lastresort
|
||||
pkgver=15.100
|
||||
pkgver=17.000
|
||||
pkgrel=1
|
||||
pkgdesc="Unicode last resort fallback font."
|
||||
arch=('any')
|
||||
@@ -8,8 +8,8 @@ url="https://github.com/unicode-org/last-resort-font"
|
||||
license=('OFL')
|
||||
source=(LastResortHE-$pkgver.ttf::$url/releases/download/$pkgver/LastResortHE-Regular.ttf
|
||||
LastResort-LICENSE-$pkgver::https://raw.githubusercontent.com/unicode-org/last-resort-font/$pkgver/LICENSE)
|
||||
sha256sums=('74f93a8fb3ab8756e0e86cb3c2c0783fda10bdea6f979d5817869ba7284e56ca'
|
||||
'6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2')
|
||||
sha256sums=('3a936fe2379e9e164a8f9819095cbf53d9305a2d08532d9be5b496f4be45bcde'
|
||||
'fc8fc512b27846bdb0d6645bed8069ac87ea599548b58a8d04bc3b0ea705a9c4')
|
||||
|
||||
package() {
|
||||
install -Dm644 "LastResortHE-$pkgver.ttf" "$pkgdir/usr/share/fonts/TTF/LastResortHE.ttf"
|
||||
|
||||
Reference in New Issue
Block a user