├── projects ├── gradle.org │ ├── settings.gradle │ └── build.gradle ├── po4a.org │ ├── en.md │ └── en.tex ├── gnupg.org │ ├── test.txt │ ├── v2.5 │ │ ├── test.txt │ │ ├── gpgconf.ctl │ │ └── gpg.conf │ ├── gpgconf.ctl │ ├── gpg.conf │ └── npth │ │ └── package.yml ├── info-zip.org │ └── zip │ │ ├── test.1.txt │ │ ├── test.3.txt │ │ └── test.2.txt ├── geoff.greer.fm │ └── ag │ │ └── test.txt ├── duktape.org │ ├── test.js │ └── test.c ├── gnu.org │ ├── plotutils │ │ └── test.dat │ ├── automake │ │ ├── test.c │ │ ├── Makefile.am │ │ └── configure.ac │ ├── autoconf │ │ ├── hello.c │ │ └── configure.ac │ ├── libtasn1 │ │ ├── assign.asn1 │ │ └── pkix.asn │ ├── emacs │ │ └── lisp │ │ │ └── site-load.el │ ├── readline │ │ └── fixture.c │ ├── gcc │ │ ├── test.f90 │ │ ├── test.cc │ │ └── test.c │ ├── gmp │ │ └── test.c │ ├── autoconf-archive │ │ └── test.m4 │ ├── bison │ │ └── test.y │ ├── tar │ │ └── iconv.patch │ ├── m4 │ │ └── package.yml │ └── libiconv │ │ └── test.cc ├── julialang.org │ └── fixture.jl ├── mozilla.org │ ├── nss │ │ └── passwd │ └── mozjpeg │ │ └── fixture.jpeg ├── pugixml.org │ ├── test.xml │ └── test.cpp ├── github.com │ ├── YS-L │ │ └── csvlens │ │ │ └── test.csv │ ├── junegunn │ │ └── fzf │ │ │ └── data.txt │ ├── skystrife │ │ └── cpptoml │ │ │ ├── pkgx.toml │ │ │ └── test.cc │ ├── python-cffi │ │ └── cffi │ │ │ └── sum.c │ ├── aswinkarthik │ │ └── csvdiff │ │ │ ├── file1.csv │ │ │ └── file2.csv │ ├── benjaminp │ │ └── six │ │ │ ├── test.py │ │ │ └── package.yml │ ├── gosom │ │ └── google-maps-scraper │ │ │ └── example-queries.txt │ ├── glauth │ │ └── glauth │ │ │ ├── glauth.env │ │ │ └── README.md │ ├── squidfunk │ │ └── mkdocs-material │ │ │ └── index.md │ ├── AlDanial │ │ └── cloc │ │ │ └── test.c │ ├── rupa │ │ └── z │ │ │ ├── README.md │ │ │ └── package.yml │ ├── xiph │ │ ├── rav1e │ │ │ ├── small_input.y4m │ │ │ └── package.yml │ │ └── speexdsp │ │ │ └── test.c │ ├── libsndfile │ │ └── libsndfile │ │ │ └── test.wav │ ├── AOMediaCodec │ │ └── libavif │ │ │ └── fixture.png │ ├── jasper-software │ │ └── jasper │ │ │ └── fixture.jpeg │ ├── rrthomas │ │ └── libpaper │ │ │ └── test.c │ ├── sctplab │ │ └── usrsctp │ │ │ └── test.c │ ├── AUTOMATIC1111 │ │ └── stable-diffusion-webui │ │ │ └── webui-user.sh │ ├── MaestroError │ │ └── heif-converter-image │ │ │ └── star-wars.avif │ ├── protobuf-c │ │ └── protobuf-c │ │ │ └── test.proto │ ├── sorah │ │ └── envchain │ │ │ └── README.md │ ├── westes │ │ └── flex │ │ │ └── test.flex │ ├── jameswoolfenden │ │ └── pike │ │ │ └── example.tf │ ├── luvit │ │ └── luv │ │ │ └── test.lua │ ├── vburenin │ │ └── ifacemaker │ │ │ └── human.go │ ├── KhronosGroup │ │ └── Vulkan-Loader │ │ │ └── test.c │ ├── OpenSC │ │ └── pkcs11-helper │ │ │ └── test.c │ ├── licensee │ │ └── licensed │ │ │ └── licensed │ ├── terraform-linters │ │ └── tflint │ │ │ └── test.tf │ ├── kevinburke │ │ └── go-bindata │ │ │ └── patch-go-modules.diff │ ├── ArionThinker │ │ └── tea-package-builder │ │ │ └── tea-package-builder │ ├── blynn │ │ └── nex │ │ │ └── README.md │ ├── neovim │ │ └── unibilium │ │ │ └── test.c │ ├── sekrit-twc │ │ └── zimg │ │ │ ├── test.c │ │ │ └── package.yml │ ├── Esri │ │ └── lerc │ │ │ └── test.cc │ ├── zsh-users │ │ └── zsh-autosuggestions │ │ │ └── README.md │ ├── open-source-parsers │ │ └── jsoncpp │ │ │ └── test.cpp │ ├── danfis │ │ └── libccd │ │ │ ├── test.c │ │ │ └── package.yml │ ├── json-c │ │ └── json-c │ │ │ └── fixture.c │ ├── oneapi-src │ │ └── oneTBB │ │ │ ├── cores-types.cpp │ │ │ └── sum1-100.cpp │ ├── numactl │ │ └── numactl │ │ │ └── mynode.c │ ├── postmodern │ │ ├── chruby │ │ │ └── package.yml │ │ └── ruby-install │ │ │ └── package.yml │ ├── lra │ │ └── mackup │ │ │ └── package.yml │ ├── Carthage │ │ └── Carthage │ │ │ └── package.yml │ ├── keith │ │ └── zap │ │ │ └── package.yml │ ├── aws-cloudformation │ │ └── cfn-lint │ │ │ └── test.yml │ ├── npiv │ │ └── chatblade │ │ │ └── package.yml │ ├── adrienverge │ │ └── yamllint │ │ │ └── package.yml │ ├── princjef │ │ └── gomarkdoc │ │ │ └── example.go │ ├── jarun │ │ └── nnn │ │ │ └── package.yml │ ├── kylef │ │ └── swiftenv │ │ │ └── package.yml │ ├── thinkst │ │ └── zippy │ │ │ └── package.yml │ ├── confluentinc │ │ └── libserdes │ │ │ └── test.c │ ├── thkukuk │ │ └── libnsl │ │ │ └── test.c │ ├── mac-cain13 │ │ └── R.swift │ │ │ └── package.yml │ ├── nomic-ai │ │ └── gpt4all │ │ │ └── gpt4all │ ├── jjjake │ │ └── internetarchive │ │ │ └── package.yml │ ├── kkos │ │ └── oniguruma │ │ │ └── package.yml │ ├── siiptuo │ │ └── pio │ │ │ └── package.yml │ ├── hykilpikonna │ │ └── hyfetch │ │ │ └── neowofetch │ │ │ └── package.yml │ ├── urllib3 │ │ └── urllib3 │ │ │ └── package.yml │ ├── antimatter15 │ │ └── alpaca.cpp │ │ │ └── alpaca.cpp │ ├── dylanaraps │ │ └── neofetch │ │ │ └── package.yml │ ├── npryce │ │ └── adr-tools │ │ │ └── package.yml │ ├── ggerganov │ │ └── whisper.cpp │ │ │ └── illegal_instruction.patch │ ├── jaseg │ │ └── lolcat │ │ │ └── package.yml │ ├── yonaskolb │ │ ├── XcodeGen │ │ │ └── package.yml │ │ └── Mint │ │ │ └── package.yml │ ├── alt-art │ │ └── commit │ │ │ └── package.yml │ ├── samwho │ │ └── spacer │ │ │ └── package.yml │ ├── google │ │ └── gops │ │ │ └── package.yml │ ├── royreznik │ │ └── rexi │ │ │ └── package.yml │ ├── giampaolo │ │ └── psutil │ │ │ └── package.yml │ ├── dateutil │ │ └── dateutil │ │ │ └── package.yml │ ├── k0sproject │ │ └── k0sctl │ │ │ └── package.yml │ ├── libass │ │ └── libass │ │ │ └── test.cpp │ ├── ZZROTDesign │ │ └── docker-clean │ │ │ └── package.yml │ ├── kjd │ │ └── idna │ │ │ └── package.yml │ ├── tfutils │ │ └── tfenv │ │ │ └── package.yml │ ├── thoughtbot │ │ └── complexity │ │ │ └── package.yml │ ├── chainguard-dev │ │ └── apko │ │ │ └── package.yml │ ├── sivel │ │ └── speedtest-cli │ │ │ └── package.yml │ ├── Limeth │ │ └── ethaddrgen │ │ │ └── package.yml │ ├── burntsushi │ │ └── xsv │ │ │ └── package.yml │ ├── caddy-dns │ │ └── acmedns │ │ │ └── package.yml │ ├── koekeishiya │ │ └── skhd │ │ │ └── package.yml │ ├── toy │ │ └── blueutil │ │ │ └── package.yml │ ├── mamba-org │ │ └── micro │ │ │ └── test.py │ └── pypa │ │ └── build │ │ └── package.yml ├── vercel.com │ └── pkg │ │ └── fixture.js ├── ansible.com │ ├── hosts.ini │ └── playbook.yml ├── eyrie.org │ └── eagle │ │ └── podlators │ │ └── test.pod ├── cython.org │ ├── package_manager.pyx │ ├── libcython │ │ ├── package_manager.pyx │ │ └── setup.py │ └── setup.py ├── cuelang.org │ └── data.cue ├── go.uber.org │ └── mock │ │ └── mockgen │ │ ├── go.mod │ │ └── foo.go ├── graphviz.org │ └── test.dot ├── lychee.cli.rs │ └── test.md ├── scryer.pl │ ├── test.pl │ └── package.yml ├── kotlinlang.org │ └── test.kt ├── mesonbuild.com │ ├── test.c │ └── meson.build ├── npmjs.com │ ├── npmrc │ ├── npx-shim │ └── provider.yml ├── pnpm.io │ ├── pnpmrc │ └── package.yml ├── terraform.io │ └── main.tf ├── git-scm.org │ ├── gitconfig │ ├── gitignore │ └── config.mak ├── gnome.org │ ├── vala │ │ └── test.vala │ ├── gsettings-desktop-schemas │ │ └── test.c │ ├── librsvg │ │ └── test.c │ ├── gdk-pixbuf │ │ └── test.c │ ├── json-glib │ │ └── test.c │ ├── glib-networking │ │ └── gtls-test.c │ ├── libxml2 │ │ └── test.c │ ├── libxslt │ │ ├── test.c │ │ └── xslt-config.patch.in │ └── glib │ │ └── test.c ├── practical-scheme.net │ └── gauche │ │ └── test.scm ├── swig.org │ ├── fixture.c │ └── fixture.i ├── lloyd.github.io │ └── yajl │ │ └── test.json ├── modernc.org │ └── goyacc │ │ └── README.md ├── yui.github.io │ └── yuicompressor │ │ └── test.js ├── mpv.io │ └── test.wav ├── sass-lang.com │ └── sassc │ │ └── test.scss ├── macvim.org │ └── commands.vim ├── libspng.org │ ├── test.png │ └── expected_output.txt ├── libvips.org │ └── test.png ├── mupdf.com │ └── test.pdf ├── exiftool.org │ └── test.jpg ├── mpg123.de │ └── fixture.mp3 ├── littlecms.com │ └── scanner.icc ├── sf.net │ └── optipng │ │ └── test.png ├── upx.github.io │ └── elf-hello ├── xiph.org │ └── flac │ │ └── test.flac ├── khronos.org │ ├── glslang │ │ ├── test.frag │ │ └── test.vert │ └── SPIRV-Cross │ │ └── test.frag ├── kubernetes.io │ └── kustomize │ │ ├── kustomization.yaml │ │ ├── service.yaml │ │ └── patch.yaml ├── htslib.org │ ├── samtools │ │ └── test.fasta │ └── test.sam ├── jpeg.org │ └── jpegxl │ │ ├── fixture.jpeg │ │ ├── fixture1.c │ │ └── fixture2.c ├── libarchive.org │ └── fixture.c ├── libjpeg-turbo.org │ └── fixture.jpeg ├── musepack.net │ ├── libreplaygain │ │ └── test.c │ └── libcuefile │ │ └── test.c ├── pytest.org │ ├── test_fail.py │ └── test_pass.py ├── sourceforge.net │ ├── faac │ │ └── test.mp3 │ ├── opencore-amr │ │ └── test.wav │ ├── libtirpc │ │ └── test.c │ └── xmlstar │ │ └── test.xml ├── templ.guide │ └── hello.templ ├── ghostscript.com │ └── fixture.ps ├── makotemplates.org │ ├── test.mako │ └── test.py ├── mcmc-jags.sourceforge.io │ ├── script │ └── model.bug ├── netpbm.sourceforge.net │ ├── test.png │ └── test.xpm ├── numpy.org │ ├── test.py │ └── test.f90 ├── assimp.org │ └── test.cpp ├── freedesktop.org │ ├── xcb-util │ │ └── test.c │ ├── poppler-qt5 │ │ └── lorem.pdf │ ├── xcb-util-keysyms │ │ └── test.c │ ├── xcb-util-wm │ │ └── test.c │ ├── xcb-util-renderutil │ │ └── test.c │ ├── xcb-util-image │ │ └── test.c │ └── mesa-glu │ │ └── test.cpp ├── giflib.sourceforge.io │ └── fixture.gif ├── microsoft.com │ └── markitdown │ │ └── test.docx ├── mujs.com │ └── test.js ├── breakfastquay.com │ └── rubberband │ │ └── test.wav ├── facebook.com │ ├── fbthrift │ │ └── example.thrift │ ├── fb303 │ │ └── test.cpp │ └── edencommon │ │ └── test.cc ├── kluctl.io │ ├── kustomization.yml │ ├── deployment.yml │ ├── .kluctl.yml │ └── nginx.yml ├── pkl-lang.org │ ├── class.pkl │ └── template.pkl ├── tart.run │ └── tart-shim ├── x.org │ ├── libSM │ │ └── test.c │ ├── xcomposite │ │ └── test.c │ ├── xft │ │ └── test.c │ ├── xcursor │ │ └── test.c │ ├── xinerama │ │ └── test.c │ ├── xkbfile │ │ └── test.c │ ├── xcb │ │ └── configure.patch │ └── applewm │ │ └── test.c ├── simplesystems.org │ └── libtiff │ │ └── fixture.tiff ├── gtk.org │ ├── gtk3 │ │ └── test.c │ └── gtk4 │ │ └── test.c ├── heasarc.gsfc.nasa.gov │ └── cfitsio │ │ ├── testprog.std │ │ └── testprog.tpt ├── sftpgo.com │ └── sftpgo.env ├── yarnpkg.com │ └── package.json ├── dri.freedesktop.org │ └── test.c ├── google.com │ └── zx │ │ └── test.mjs ├── portaudio.com │ └── test.c ├── tcsh.org │ └── test.csh ├── unidata.ucar.edu │ └── netcdf │ │ └── test.c ├── videolan.org │ ├── libplacebo │ │ └── test.c │ ├── libbluray │ │ └── test.c │ └── x264 │ │ └── test.c ├── openjdk.org │ └── HelloWorld.java ├── proj.org │ ├── test.txt │ └── match.txt ├── glm.g-truc.net │ └── glm.pc ├── opencore-amr.sourceforge.io │ └── test.c ├── ebassi.github.io │ └── graphene │ │ └── test.c ├── zeromq.org │ └── fixture.c ├── alsa-project.org │ └── alsa-lib │ │ └── test.c ├── hdfgroup.org │ └── HDF5 │ │ └── test.c ├── poppler.freedesktop.org │ └── test.pdf ├── sing-box.app │ └── config.json ├── openbao.org │ └── openbao │ │ ├── openbao.env │ │ └── README.md ├── pyyaml.org │ ├── test.c │ ├── libyaml │ │ ├── fixture.c │ │ └── package.yml │ └── package.yml ├── netlib.org │ └── lapack │ │ └── test.c ├── xvid.com │ └── test.cpp ├── ctags.io │ └── test.c ├── wpewebkit.org │ ├── libwpe │ │ └── wpe-test.c │ └── wpebackend-fdo │ │ └── wpe-fdo-test.c ├── xkbcommon.org │ └── test.c ├── fastlane.tools │ └── fastlane ├── python.org │ ├── typing_extensions │ │ └── test.py │ ├── patch3.4.diff │ ├── patch3.5.diff │ └── sitecustomize.py ├── qt.io │ ├── main.cpp │ └── hello.pro ├── rtomayko.github.io │ └── ronn │ │ └── ronn ├── asciidoctor.org │ └── asciidoctor ├── people.redhat.com │ └── sgrubb │ │ └── libcap-ng │ │ └── test.c ├── rubocop.org │ └── rubocop ├── frei0r.dyne.org │ └── test.c ├── pip.pypa.io │ └── README.md ├── pypa.github.io │ └── pipx │ │ ├── provider.yml │ │ └── package.yml ├── glfw.org │ └── test.c ├── maven.apache.org │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── tea │ │ └── MavenTest.java ├── terratag.io │ └── example.tf ├── wayland.freedesktop.org │ └── test.c ├── cocoapods.org │ ├── xcodeproj │ │ └── xcodeproj │ └── proxy ├── public.hronopik.de │ └── vid.stab │ │ └── vidstab_version.cpp ├── deepwisdom.ai │ └── README.md ├── stedolan.github.io │ └── jq │ │ ├── test.json │ │ └── lgamma_r.diff ├── csie.ntu.edu.tw │ └── cjlin │ │ └── liblinear │ │ └── train_classification.txt ├── soliditylang.org │ └── fixture.sol ├── wireshark.org │ └── test.cpp ├── debian.org │ └── bash-completion │ │ └── README.md ├── cairographics.org │ └── test.c ├── libpng.org │ └── test.c ├── xerces.apache.org │ └── xerces-c │ │ └── ducks.xml ├── libpipeline.gitlab.io │ └── libpipeline │ │ └── test.c ├── pngquant.org │ └── lib │ │ ├── test.c │ │ └── package.yml ├── pixman.org │ └── test.c ├── code.videolan.org │ └── aribb24 │ │ └── test.c ├── linux-pam.org │ └── test.c ├── ollama.ai │ └── Modelfile ├── riverbankcomputing.com │ └── sip │ │ ├── pyproject.toml │ │ └── fib.sip ├── luajit.org │ └── test.lua ├── man-db.gitlab.io │ └── man-db │ │ └── README.md ├── digip.org │ └── jansson │ │ ├── fixture.c │ │ └── package.yml ├── open-mpi.org │ ├── hellousempif08.f90 │ ├── hellousempi.f90 │ ├── hellof.f90 │ └── hello.c ├── abseil.io │ └── test.cc ├── gts.sourceforge.net │ └── test.c ├── speex.org │ └── test.c ├── libwebsockets.org │ └── fixture.c ├── cyrusimap.org │ └── cyrus-sasl │ │ └── fixture.cpp ├── jemalloc.net │ └── test.c ├── jugit.fz-juelich.de │ └── mlz │ │ └── libcerf │ │ └── test.c ├── jenv.be │ └── package.yml ├── mkdocs.org │ └── package.yml ├── cmocka.org │ └── test.c ├── keephq.dev │ └── package.yml ├── openmp.llvm.org │ └── test.cpp ├── bloomreach.com │ └── s4cmd │ │ └── package.yml ├── ccache.dev │ └── README.md ├── s3tools.org │ └── package.yml ├── r-wos.org │ └── gti │ │ └── package.yml ├── apache.org │ └── zookeeper │ │ └── README.md ├── crates.io │ ├── du-dust │ │ └── package.yml │ ├── hac-client │ │ └── package.yml │ ├── names │ │ └── package.yml │ ├── sigrs │ │ └── package.yml │ ├── diskonaut │ │ └── package.yml │ ├── ox │ │ └── package.yml │ ├── eb │ │ └── package.yml │ ├── tokei │ │ └── package.yml │ ├── ducker │ │ └── package.yml │ ├── xh │ │ └── package.yml │ ├── hyperfine │ │ └── package.yml │ ├── pik │ │ └── package.yml │ ├── sd │ │ └── package.yml │ ├── aichat │ │ └── package.yml │ ├── fsrx │ │ └── package.yml │ ├── pqrs │ │ └── package.yml │ ├── bottom │ │ └── package.yml │ ├── fblog │ │ └── package.yml │ ├── tv-cli │ │ └── package.yml │ ├── pastel │ │ └── package.yml │ ├── sleek │ │ └── package.yml │ ├── vivid │ │ └── package.yml │ ├── fselect │ │ └── package.yml │ ├── ripgrep │ │ └── package.yml │ ├── diskus │ │ └── package.yml │ ├── toast │ │ └── package.yml │ ├── wordl │ │ └── add-version.patch │ ├── docuum │ │ └── package.yml │ ├── exa │ │ └── package.yml │ ├── fd-find │ │ └── package.yml │ ├── pgen │ │ └── package.yml │ ├── fnm │ │ └── package.yml │ ├── killport │ │ └── package.yml │ ├── portfolio_rs │ │ └── package.yml │ ├── zoxide │ │ └── package.yml │ ├── licensor │ │ └── package.yml │ ├── mdcat │ │ └── package.yml │ ├── craftql │ │ └── package.yml │ ├── ddh │ │ └── package.yml │ ├── tiny │ │ └── package.yml │ ├── checkexec │ │ └── package.yml │ ├── huniq │ │ └── package.yml │ ├── jnv │ │ └── package.yml │ ├── stego │ │ └── package.yml │ ├── broot │ │ └── package.yml │ ├── cavif │ │ └── package.yml │ ├── kaspa-miner │ │ └── package.yml │ ├── pushenv │ │ └── package.yml │ ├── rucola-notes │ │ └── package.yml │ ├── eza │ │ └── package.yml │ └── git-delta │ │ └── package.yml ├── cruft.github.io │ └── package.yml ├── deno.land │ └── unzip_option_feature.diff ├── hboehm.info │ └── gc │ │ └── test.cc ├── ordinals.com │ └── package.yml ├── openai.com │ └── openai-python │ │ └── package.yml ├── denilson.sa.nom.br │ └── prettyping │ │ └── package.yml ├── git.tozt.net │ └── rbw │ │ └── package.yml ├── sqlfluff.com │ └── package.yml ├── endoflife.date │ └── package.yml ├── nixos.org │ └── patchelf │ │ └── package.yml ├── rubygems.org │ └── gist │ │ └── package.yml ├── wkentaro.github.io │ └── gdown │ │ └── package.yml ├── llm.datasette.io │ └── package.yml ├── crystal-lang.org │ └── shim ├── lz4.org │ └── package.yml ├── fftw.org │ └── fftw.c ├── attrs.org │ └── package.yml ├── html-tidy.org │ └── package.yml ├── getsynth.com │ └── package.yml ├── getzola.org │ └── package.yml ├── restic.net │ └── restic │ │ └── package.yml ├── cilium.io │ └── hubble │ │ └── package.yml ├── printfn.github.io │ └── fend │ │ └── package.yml ├── pypa.io │ └── setuptools │ │ └── package.yml ├── saerasoft.com │ └── caesium │ │ └── package.yml ├── hadrons.org │ └── libmd │ │ └── patch-symbol-alias.diff ├── lcdf.org │ └── gifsicle │ │ └── package.yml ├── postgresql.org │ └── libpq │ │ └── libpq.c ├── starship.rs │ └── package.yml ├── doctave.com │ └── package.yml ├── libusb.info │ └── compat │ │ └── test.c ├── clog-tool.github.io │ └── package.yml ├── pdm.fming.dev │ └── package.yml ├── svenstaro.github.io │ └── genact │ │ └── package.yml ├── k9scli.io │ └── package.yml ├── aws.amazon.com │ └── sam │ │ └── template.yml ├── fabianlindfors.se │ └── reshape │ │ └── package.yml ├── kubecm.cloud │ └── package.yml ├── psycopg.org │ └── psycopg2 │ │ └── package.yml ├── rust-lang.github.io │ └── mdBook │ │ └── package.yml ├── thekelleys.org.uk │ └── dnsmasq │ │ └── package.yml ├── convco.github.io │ └── package.yml ├── dystroy.org │ └── bacon │ │ └── package.yml ├── ninja-build.org │ └── package.yml ├── dprint.dev │ └── package.yml ├── direnv.net │ └── package.yml ├── hugo.wang │ └── cicada │ │ └── package.yml ├── re2c.org │ └── package.yml ├── k3d.io │ └── package.yml ├── markupsafe.palletsprojects.com │ └── package.yml ├── rockdaboot.github.io │ └── libpsl │ │ └── test.c ├── sshx.io │ └── package.yml ├── asciinema.org │ └── agg │ │ └── package.yml ├── brxken128.github.io │ └── dexios │ │ └── package.yml ├── jless.io │ └── package.yml ├── jonas.github.io │ └── tig │ │ └── package.yml ├── ktlint.github.io │ └── package.yml ├── pkgx.sh │ └── mash │ │ └── package.yml ├── harding.motd.ca │ └── autossh │ │ └── package.yml ├── just.systems │ └── package.yml ├── kind.sigs.k8s.io │ └── package.yml ├── mitmproxy.org │ └── package.yml ├── rebar3.org │ └── package.yml ├── yt-dlp.org │ └── package.yml ├── bcrypt.sourceforge.net │ └── package.yml ├── getcomposer.org │ └── package.yml ├── hatch.pypa.io │ └── package.yml └── htop.dev │ └── package.yml ├── .vscode └── settings.json ├── pkgx.yaml ├── .gitignore ├── .devcontainer └── devcontainer.json └── .github ├── scripts └── qa-required.ts └── deno.jsonc /projects/gradle.org/settings.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /projects/po4a.org/en.md: -------------------------------------------------------------------------------- 1 | Hello from Tea! -------------------------------------------------------------------------------- /projects/gnupg.org/test.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /projects/info-zip.org/zip/test.1.txt: -------------------------------------------------------------------------------- 1 | Hello! -------------------------------------------------------------------------------- /projects/info-zip.org/zip/test.3.txt: -------------------------------------------------------------------------------- 1 | Moien! -------------------------------------------------------------------------------- /projects/geoff.greer.fm/ag/test.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /projects/gnupg.org/v2.5/test.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /projects/info-zip.org/zip/test.2.txt: -------------------------------------------------------------------------------- 1 | Bonjour! -------------------------------------------------------------------------------- /projects/duktape.org/test.js: -------------------------------------------------------------------------------- 1 | console.log('Hello World!'); -------------------------------------------------------------------------------- /projects/gnu.org/plotutils/test.dat: -------------------------------------------------------------------------------- 1 | 0.0 0.0 2 | 1.0 0.2 -------------------------------------------------------------------------------- /projects/gradle.org/build.gradle: -------------------------------------------------------------------------------- 1 | println "gradle works!" -------------------------------------------------------------------------------- /projects/julialang.org/fixture.jl: -------------------------------------------------------------------------------- 1 | println("Hello, World!") -------------------------------------------------------------------------------- /projects/mozilla.org/nss/passwd: -------------------------------------------------------------------------------- 1 | It's a secret to everyone. -------------------------------------------------------------------------------- /projects/pugixml.org/test.xml: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /projects/github.com/YS-L/csvlens/test.csv: -------------------------------------------------------------------------------- 1 | A,B,C 2 | 100,42,300 -------------------------------------------------------------------------------- /projects/github.com/junegunn/fzf/data.txt: -------------------------------------------------------------------------------- 1 | hello 2 | world 3 | -------------------------------------------------------------------------------- /projects/gnupg.org/gpgconf.ctl: -------------------------------------------------------------------------------- 1 | rootdir = $GNUPG_BUILD_ROOT/ 2 | -------------------------------------------------------------------------------- /projects/vercel.com/pkg/fixture.js: -------------------------------------------------------------------------------- 1 | console.log("Hello, World!"); -------------------------------------------------------------------------------- /projects/ansible.com/hosts.ini: -------------------------------------------------------------------------------- 1 | localhost ansible_connection=local -------------------------------------------------------------------------------- /projects/eyrie.org/eagle/podlators/test.pod: -------------------------------------------------------------------------------- 1 | =head2 Test heading 2 | -------------------------------------------------------------------------------- /projects/gnupg.org/gpg.conf: -------------------------------------------------------------------------------- 1 | use-agent 2 | pinentry-mode loopback 3 | -------------------------------------------------------------------------------- /projects/gnupg.org/v2.5/gpgconf.ctl: -------------------------------------------------------------------------------- 1 | rootdir = $GNUPG_BUILD_ROOT/ 2 | -------------------------------------------------------------------------------- /projects/cython.org/package_manager.pyx: -------------------------------------------------------------------------------- 1 | print 'You are using pkgx' 2 | -------------------------------------------------------------------------------- /projects/github.com/skystrife/cpptoml/pkgx.toml: -------------------------------------------------------------------------------- 1 | str = "Hello, pkgx." 2 | -------------------------------------------------------------------------------- /projects/gnu.org/automake/test.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /projects/gnupg.org/v2.5/gpg.conf: -------------------------------------------------------------------------------- 1 | use-agent 2 | pinentry-mode loopback 3 | -------------------------------------------------------------------------------- /projects/cuelang.org/data.cue: -------------------------------------------------------------------------------- 1 | package tea 2 | 3 | project: "cuelang.org" 4 | -------------------------------------------------------------------------------- /projects/gnu.org/autoconf/hello.c: -------------------------------------------------------------------------------- 1 | int foo(void) { 2 | return 42; 3 | } 4 | -------------------------------------------------------------------------------- /projects/go.uber.org/mock/mockgen/go.mod: -------------------------------------------------------------------------------- 1 | module example 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /projects/graphviz.org/test.dot: -------------------------------------------------------------------------------- 1 | digraph g1 { 2 | magic -> tea 3 | } 4 | -------------------------------------------------------------------------------- /projects/lychee.cli.rs/test.md: -------------------------------------------------------------------------------- 1 | [This](https://example.com) is an example. 2 | -------------------------------------------------------------------------------- /projects/scryer.pl/test.pl: -------------------------------------------------------------------------------- 1 | test :- 2 | write("Hello from Scryer Prolog."). -------------------------------------------------------------------------------- /projects/cython.org/libcython/package_manager.pyx: -------------------------------------------------------------------------------- 1 | print 'You are using tea' 2 | -------------------------------------------------------------------------------- /projects/github.com/python-cffi/cffi/sum.c: -------------------------------------------------------------------------------- 1 | int sum(int a, int b) { return a + b; } -------------------------------------------------------------------------------- /projects/gnu.org/libtasn1/assign.asn1: -------------------------------------------------------------------------------- 1 | dp PKIX1.Dss-Sig-Value 2 | r 42 3 | s 47 4 | -------------------------------------------------------------------------------- /projects/kotlinlang.org/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | println("Hello World!") 3 | } -------------------------------------------------------------------------------- /projects/mesonbuild.com/test.c: -------------------------------------------------------------------------------- 1 | main() { 2 | puts("hi"); 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /projects/npmjs.com/npmrc: -------------------------------------------------------------------------------- 1 | prefix = ${HOME}/.local 2 | update_notifier = false 3 | -------------------------------------------------------------------------------- /projects/pnpm.io/pnpmrc: -------------------------------------------------------------------------------- 1 | prefix = ${HOME}/.local 2 | update_notifier = false 3 | -------------------------------------------------------------------------------- /projects/terraform.io/main.tf: -------------------------------------------------------------------------------- 1 | output "fixture" { 2 | value = "Hello, World!" 3 | } -------------------------------------------------------------------------------- /projects/git-scm.org/gitconfig: -------------------------------------------------------------------------------- 1 | [core] 2 | excludesfile = %(prefix)/etc/gitignore 3 | -------------------------------------------------------------------------------- /projects/git-scm.org/gitignore: -------------------------------------------------------------------------------- 1 | # banish ye, the bane of our existence 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /projects/gnome.org/vala/test.vala: -------------------------------------------------------------------------------- 1 | void main () { 2 | print ("Hello World!"); 3 | } -------------------------------------------------------------------------------- /projects/gnu.org/automake/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = test 2 | test_SOURCES = test.c 3 | -------------------------------------------------------------------------------- /projects/practical-scheme.net/gauche/test.scm: -------------------------------------------------------------------------------- 1 | (display (gauche-version)) 2 | (newline) -------------------------------------------------------------------------------- /projects/swig.org/fixture.c: -------------------------------------------------------------------------------- 1 | int add(int x, int y) 2 | { 3 | return x + y; 4 | } 5 | -------------------------------------------------------------------------------- /projects/github.com/aswinkarthik/csvdiff/file1.csv: -------------------------------------------------------------------------------- 1 | tool,description 2 | tea.xyz,is great 3 | -------------------------------------------------------------------------------- /projects/github.com/benjaminp/six/test.py: -------------------------------------------------------------------------------- 1 | import six 2 | assert not six.PY2 3 | assert six.PY3 -------------------------------------------------------------------------------- /projects/github.com/gosom/google-maps-scraper/example-queries.txt: -------------------------------------------------------------------------------- 1 | restaurants in kyiv, ukraine -------------------------------------------------------------------------------- /projects/lloyd.github.io/yajl/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1, 3 | "b": 2, 4 | "c": 3 5 | } -------------------------------------------------------------------------------- /projects/modernc.org/goyacc/README.md: -------------------------------------------------------------------------------- 1 | Goyacc is a version of yacc generating Go programs. 2 | -------------------------------------------------------------------------------- /projects/yui.github.io/yuicompressor/test.js: -------------------------------------------------------------------------------- 1 | var i = 1; // foo 2 | console.log(i); // bar -------------------------------------------------------------------------------- /projects/github.com/glauth/glauth/glauth.env: -------------------------------------------------------------------------------- 1 | GLAUTH_CONFIG_FILE_PATH=/etc/glauth/glauth.toml 2 | -------------------------------------------------------------------------------- /projects/mesonbuild.com/meson.build: -------------------------------------------------------------------------------- 1 | project('hello', 'c') 2 | executable('hello', 'test.c') 3 | -------------------------------------------------------------------------------- /projects/mpv.io/test.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/mpv.io/test.wav -------------------------------------------------------------------------------- /projects/sass-lang.com/sassc/test.scss: -------------------------------------------------------------------------------- 1 | div { 2 | img { 3 | border: 0px; 4 | } 5 | } -------------------------------------------------------------------------------- /projects/swig.org/fixture.i: -------------------------------------------------------------------------------- 1 | %module test 2 | %inline %{ 3 | extern int add(int x, int y); 4 | %} -------------------------------------------------------------------------------- /projects/github.com/aswinkarthik/csvdiff/file2.csv: -------------------------------------------------------------------------------- 1 | tool,description 2 | tea.xyz,is the greatest 3 | -------------------------------------------------------------------------------- /projects/github.com/squidfunk/mkdocs-material/index.md: -------------------------------------------------------------------------------- 1 | [test@test.test](mailto:test@test.test) 2 | 3 | -------------------------------------------------------------------------------- /projects/macvim.org/commands.vim: -------------------------------------------------------------------------------- 1 | :python3 import vim; vim.current.buffer[0] = 'hello python3' 2 | :wq -------------------------------------------------------------------------------- /projects/github.com/AlDanial/cloc/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(void) 3 | { 4 | return 0; 5 | } -------------------------------------------------------------------------------- /projects/libspng.org/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/libspng.org/test.png -------------------------------------------------------------------------------- /projects/libvips.org/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/libvips.org/test.png -------------------------------------------------------------------------------- /projects/mupdf.com/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/mupdf.com/test.pdf -------------------------------------------------------------------------------- /projects/exiftool.org/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/exiftool.org/test.jpg -------------------------------------------------------------------------------- /projects/mpg123.de/fixture.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/mpg123.de/fixture.mp3 -------------------------------------------------------------------------------- /projects/go.uber.org/mock/mockgen/foo.go: -------------------------------------------------------------------------------- 1 | package foo 2 | 3 | type Bar interface { 4 | Baz(string) error 5 | } 6 | -------------------------------------------------------------------------------- /projects/littlecms.com/scanner.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/littlecms.com/scanner.icc -------------------------------------------------------------------------------- /projects/sf.net/optipng/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/sf.net/optipng/test.png -------------------------------------------------------------------------------- /projects/upx.github.io/elf-hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/upx.github.io/elf-hello -------------------------------------------------------------------------------- /projects/xiph.org/flac/test.flac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/xiph.org/flac/test.flac -------------------------------------------------------------------------------- /projects/khronos.org/glslang/test.frag: -------------------------------------------------------------------------------- 1 | #version 110 2 | void main() { 3 | gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0); 4 | } -------------------------------------------------------------------------------- /projects/kubernetes.io/kustomize/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - service.yaml 3 | patches: 4 | - path: patch.yaml 5 | -------------------------------------------------------------------------------- /projects/po4a.org/en.tex: -------------------------------------------------------------------------------- 1 | \\documentclass[a4paper]{article} 2 | \\begin{document} 3 | Hello from Tea! 4 | \\end{document} -------------------------------------------------------------------------------- /projects/ansible.com/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: all 3 | gather_facts: False 4 | tasks: 5 | - name: ping 6 | ping: -------------------------------------------------------------------------------- /projects/gnu.org/autoconf/configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT([hello], [1.0]) 2 | AC_CONFIG_SRCDIR([hello.c]) 3 | AC_PROG_CC 4 | AC_OUTPUT 5 | -------------------------------------------------------------------------------- /projects/htslib.org/samtools/test.fasta: -------------------------------------------------------------------------------- 1 | >U00096.2:1-70 2 | AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC -------------------------------------------------------------------------------- /projects/htslib.org/test.sam: -------------------------------------------------------------------------------- 1 | @SQ SN:chr1 LN:500 2 | r1 0 chr1 100 0 4M * 0 0 ATGC ABCD 3 | r2 0 chr1 200 0 4M * 0 0 AATT EFGH -------------------------------------------------------------------------------- /projects/jpeg.org/jpegxl/fixture.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/jpeg.org/jpegxl/fixture.jpeg -------------------------------------------------------------------------------- /projects/khronos.org/SPIRV-Cross/test.frag: -------------------------------------------------------------------------------- 1 | #version 140 2 | void main() { 3 | gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0); 4 | } -------------------------------------------------------------------------------- /projects/libarchive.org/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | printf("Hello World!"); 4 | return 0; 5 | } -------------------------------------------------------------------------------- /projects/libjpeg-turbo.org/fixture.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/libjpeg-turbo.org/fixture.jpeg -------------------------------------------------------------------------------- /projects/musepack.net/libreplaygain/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | return 0; 5 | } -------------------------------------------------------------------------------- /projects/pytest.org/test_fail.py: -------------------------------------------------------------------------------- 1 | def inc(x): 2 | return x + 1 3 | 4 | 5 | def test_answer(): 6 | assert inc(3) == 5 -------------------------------------------------------------------------------- /projects/pytest.org/test_pass.py: -------------------------------------------------------------------------------- 1 | def inc(x): 2 | return x + 1 3 | 4 | 5 | def test_answer(): 6 | assert inc(3) == 4 -------------------------------------------------------------------------------- /projects/sourceforge.net/faac/test.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/sourceforge.net/faac/test.mp3 -------------------------------------------------------------------------------- /projects/templ.guide/hello.templ: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | templ hello(name string) { 4 |
Hello, { name }
5 | } 6 | -------------------------------------------------------------------------------- /projects/ghostscript.com/fixture.ps: -------------------------------------------------------------------------------- 1 | %!PS 2 | /Courier 3 | 20 selectfont 4 | 72 500 moveto 5 | (Hello World!) show 6 | showpage 7 | -------------------------------------------------------------------------------- /projects/github.com/rupa/z/README.md: -------------------------------------------------------------------------------- 1 | # Usage 2 | 3 | ``` 4 | source "${PKGX_DIR:-$HOME/.pkgx}/github.com/rupa/zv*/z.sh" 5 | ``` 6 | -------------------------------------------------------------------------------- /projects/makotemplates.org/test.mako: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello! My name is ${name}

4 | 5 | 6 | -------------------------------------------------------------------------------- /projects/mcmc-jags.sourceforge.io/script: -------------------------------------------------------------------------------- 1 | model in model.bug 2 | compile 3 | initialize 4 | monitor parameter 5 | update 100 6 | coda * -------------------------------------------------------------------------------- /projects/mozilla.org/mozjpeg/fixture.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/mozilla.org/mozjpeg/fixture.jpeg -------------------------------------------------------------------------------- /projects/netpbm.sourceforge.net/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/netpbm.sourceforge.net/test.png -------------------------------------------------------------------------------- /projects/numpy.org/test.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | t = np.ones((3,3), int) 3 | assert t.sum() == 9 4 | assert np.dot(t, t).sum() == 27 -------------------------------------------------------------------------------- /projects/assimp.org/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | Assimp::Importer importer; 4 | return 0; 5 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/xcb-util/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/giflib.sourceforge.io/fixture.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/giflib.sourceforge.io/fixture.gif -------------------------------------------------------------------------------- /projects/khronos.org/glslang/test.vert: -------------------------------------------------------------------------------- 1 | #version 110 2 | void main() { 3 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; 4 | } -------------------------------------------------------------------------------- /projects/microsoft.com/markitdown/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/microsoft.com/markitdown/test.docx -------------------------------------------------------------------------------- /projects/mujs.com/test.js: -------------------------------------------------------------------------------- 1 | print('hello, world'.split().reduce(function (sum, char) { 2 | return sum + char.charCodeAt(0); 3 | }, 0)); -------------------------------------------------------------------------------- /projects/breakfastquay.com/rubberband/test.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/breakfastquay.com/rubberband/test.wav -------------------------------------------------------------------------------- /projects/facebook.com/fbthrift/example.thrift: -------------------------------------------------------------------------------- 1 | namespace cpp tamvm 2 | 3 | service ExampleService { 4 | i32 get_number(1:i32 number); 5 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/poppler-qt5/lorem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/freedesktop.org/poppler-qt5/lorem.pdf -------------------------------------------------------------------------------- /projects/github.com/xiph/rav1e/small_input.y4m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/github.com/xiph/rav1e/small_input.y4m -------------------------------------------------------------------------------- /projects/gnome.org/gsettings-desktop-schemas/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char *argv[]) { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /projects/gnu.org/automake/configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT(test, 1.0) 2 | AM_INIT_AUTOMAKE 3 | AC_PROG_CC 4 | AC_CONFIG_FILES(Makefile) 5 | AC_OUTPUT 6 | -------------------------------------------------------------------------------- /projects/kluctl.io/kustomization.yml: -------------------------------------------------------------------------------- 1 | apiVersion: kustomize.config.k8s.io/v1beta1 2 | kind: Kustomization 3 | resources: 4 | - nginx.yml 5 | -------------------------------------------------------------------------------- /projects/pkl-lang.org/class.pkl: -------------------------------------------------------------------------------- 1 | class Language { 2 | name: String 3 | } 4 | 5 | bestForConfig: Language = new { 6 | name = "Pkl" 7 | } -------------------------------------------------------------------------------- /projects/sourceforge.net/opencore-amr/test.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/sourceforge.net/opencore-amr/test.wav -------------------------------------------------------------------------------- /projects/tart.run/tart-shim: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tart="$(cd "$(dirname "$0")/.." && pwd)"/tart.app/Contents/MacOS/tart 4 | 5 | exec "$tart" "$@" -------------------------------------------------------------------------------- /projects/x.org/libSM/test.c: -------------------------------------------------------------------------------- 1 | #include "X11/SM/SMlib.h" 2 | 3 | int main(int argc, char* argv[]) { 4 | SmProp prop; 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/x.org/xcomposite/test.c: -------------------------------------------------------------------------------- 1 | #include "X11/Xlib.h" 2 | #include "X11/extensions/Xcomposite.h" 3 | 4 | int main() { 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/x.org/xft/test.c: -------------------------------------------------------------------------------- 1 | #include "X11/Xft/Xft.h" 2 | 3 | int main(int argc, char* argv[]) { 4 | XftFont font; 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/xcb-util-keysyms/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/mcmc-jags.sourceforge.io/model.bug: -------------------------------------------------------------------------------- 1 | data { 2 | obs <- 1 3 | } 4 | model { 5 | parameter ~ dunif(0,1) 6 | obs ~ dbern(parameter) 7 | } -------------------------------------------------------------------------------- /projects/simplesystems.org/libtiff/fixture.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/simplesystems.org/libtiff/fixture.tiff -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true, 3 | "deno.lint": true, 4 | "deno.unstable": true, 5 | "deno.config": ".github/deno.jsonc", 6 | } -------------------------------------------------------------------------------- /projects/github.com/libsndfile/libsndfile/test.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/github.com/libsndfile/libsndfile/test.wav -------------------------------------------------------------------------------- /projects/gtk.org/gtk3/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | gtk_disable_setlocale(); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/gtk.org/gtk4/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | gtk_disable_setlocale(); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/heasarc.gsfc.nasa.gov/cfitsio/testprog.std: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/heasarc.gsfc.nasa.gov/cfitsio/testprog.std -------------------------------------------------------------------------------- /projects/kubernetes.io/kustomize/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: tea-test 5 | spec: 6 | type: LoadBalancer 7 | -------------------------------------------------------------------------------- /projects/sftpgo.com/sftpgo.env: -------------------------------------------------------------------------------- 1 | PKGX_SFTPGO_PROJECT=sftpgo.com 2 | PKGX_SFTPGO_VERSION=##SETUP## 3 | 4 | SFTPGO_CONFIG_FILE=/etc/sftpgo/sftpgo.json 5 | -------------------------------------------------------------------------------- /projects/yarnpkg.com/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yarnpkg.com", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT" 6 | } 7 | -------------------------------------------------------------------------------- /pkgx.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | pkgx.sh/brewkit: ^0 || ^1 3 | env: 4 | PKGX_PANTRY_PATH: ${{srcroot}} #pkgx^1 5 | PKGX_PANTRY_DIR: ${{srcroot}} #pkgx^2 6 | -------------------------------------------------------------------------------- /projects/dri.freedesktop.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) { 3 | struct drm_gem_open open; 4 | return 0; 5 | } -------------------------------------------------------------------------------- /projects/github.com/AOMediaCodec/libavif/fixture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/github.com/AOMediaCodec/libavif/fixture.png -------------------------------------------------------------------------------- /projects/google.com/zx/test.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env zx 2 | 3 | let name = YAML.parse('foo: bar').foo 4 | console.log(`name is ${name}`) 5 | await $`touch ${name}` -------------------------------------------------------------------------------- /projects/kubernetes.io/kustomize/patch.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: tea-test 5 | spec: 6 | selector: 7 | app: foo 8 | -------------------------------------------------------------------------------- /projects/portaudio.com/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "portaudio.h" 3 | int main() 4 | { 5 | printf("%s",Pa_GetVersionInfo()->versionText); 6 | } -------------------------------------------------------------------------------- /projects/tcsh.org/test.csh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env -S tcsh -f 2 | 3 | set ARRAY=( "t" "e" "s" "t" ) 4 | foreach i ( `seq $#ARRAY` ) 5 | echo -n $ARRAY[$i] 6 | end -------------------------------------------------------------------------------- /projects/unidata.ucar.edu/netcdf/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "netcdf_meta.h" 3 | int main() { 4 | printf(NC_VERSION); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/github.com/jasper-software/jasper/fixture.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/github.com/jasper-software/jasper/fixture.jpeg -------------------------------------------------------------------------------- /projects/videolan.org/libplacebo/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | return (pl_version() != NULL) ? 0 : 1; 5 | } -------------------------------------------------------------------------------- /projects/x.org/xcursor/test.c: -------------------------------------------------------------------------------- 1 | #include "X11/Xcursor/Xcursor.h" 2 | 3 | int main(int argc, char* argv[]) { 4 | XcursorFileHeader header; 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/github.com/rrthomas/libpaper/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | enum paper_unit unit; 5 | int ret = paperinit(); 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/github.com/sctplab/usrsctp/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | usrsctp_init(0, NULL, NULL); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/openjdk.org/HelloWorld.java: -------------------------------------------------------------------------------- 1 | class HelloWorld { 2 | public static void main(String args[]) { 3 | System.out.println("Hello, world!"); 4 | } 5 | } -------------------------------------------------------------------------------- /projects/proj.org/test.txt: -------------------------------------------------------------------------------- 1 | 45d15n 71d07w Boston, United States 2 | 40d40n 73d58w New York, United States 3 | 48d51n 2d20e Paris, France 4 | 51d30n 7'w London, England -------------------------------------------------------------------------------- /projects/x.org/xinerama/test.c: -------------------------------------------------------------------------------- 1 | #include "X11/extensions/Xinerama.h" 2 | 3 | int main(int argc, char* argv[]) { 4 | XineramaScreenInfo info; 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/xcb-util-wm/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/github.com/AUTOMATIC1111/stable-diffusion-webui/webui-user.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export install_dir="$(cd "$(dirname "$0")"/.. && pwd)" 3 | export clone_dir="lib" 4 | -------------------------------------------------------------------------------- /projects/glm.g-truc.net/glm.pc: -------------------------------------------------------------------------------- 1 | prefix=${pcfiledir}/../.. 2 | includedir=${prefix}/include 3 | 4 | Name: GLM 5 | Description: OpenGL Mathematics 6 | Cflags: -I${includedir} -------------------------------------------------------------------------------- /projects/git-scm.org/config.mak: -------------------------------------------------------------------------------- 1 | RUNTIME_PREFIX = YesPlease 2 | RUNTIME_PREFIX_PERL = YesPlease 3 | 4 | # must be set or the above are still abs paths 5 | gitexecdir=libexec 6 | -------------------------------------------------------------------------------- /projects/gnome.org/librsvg/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | RsvgHandle *handle = rsvg_handle_new(); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /projects/musepack.net/libcuefile/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/opencore-amr.sourceforge.io/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(void) { 3 | void *s = D_IF_init(); 4 | D_IF_exit(s); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/cython.org/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup 2 | from Cython.Build import cythonize 3 | 4 | setup( 5 | ext_modules = cythonize("package_manager.pyx") 6 | ) 7 | -------------------------------------------------------------------------------- /projects/ebassi.github.io/graphene/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | GType type = graphene_point_get_type(); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/xcb-util-renderutil/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/gnome.org/gdk-pixbuf/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | GType type = gdk_pixbuf_get_type(); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /projects/gnome.org/json-glib/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | JsonParser *parser = json_parser_new(); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/gnu.org/emacs/lisp/site-load.el: -------------------------------------------------------------------------------- 1 | (setq exec-path (delete nil 2 | (mapcar 3 | (lambda (elt) 4 | (unless (string-match-p ".tea" elt) elt)) 5 | exec-path))) 6 | -------------------------------------------------------------------------------- /projects/github.com/MaestroError/heif-converter-image/star-wars.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgxdev/pantry/HEAD/projects/github.com/MaestroError/heif-converter-image/star-wars.avif -------------------------------------------------------------------------------- /projects/gnu.org/libtasn1/pkix.asn: -------------------------------------------------------------------------------- 1 | PKIX1 { } 2 | DEFINITIONS IMPLICIT TAGS ::= 3 | BEGIN 4 | Dss-Sig-Value ::= SEQUENCE { 5 | r INTEGER, 6 | s INTEGER 7 | } 8 | END -------------------------------------------------------------------------------- /projects/videolan.org/libbluray/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) { 4 | BLURAY *bluray = bd_init(); 5 | bd_close(bluray); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /projects/zeromq.org/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | zmq_msg_t query; 5 | assert(0 == zmq_msg_init_size(&query, 1)); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /srcs 2 | /builds 3 | /testbeds 4 | /homes 5 | /prefixes 6 | 7 | .DS_Store 8 | 9 | #TODO commit after v1 10 | /deno.lock 11 | 12 | # IntelliJ IDE Folder 13 | .idea/ 14 | -------------------------------------------------------------------------------- /projects/alsa-project.org/alsa-lib/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(void) { 3 | snd_ctl_card_info_t *info; 4 | snd_ctl_card_info_alloca(&info); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/cython.org/libcython/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup 2 | from Cython.Build import cythonize 3 | 4 | setup( 5 | ext_modules = cythonize("package_manager.pyx") 6 | ) 7 | -------------------------------------------------------------------------------- /projects/hdfgroup.org/HDF5/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "hdf5.h" 3 | int main() { 4 | printf("%d.%d.%d\\n", H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE); 5 | return 0; 6 | } -------------------------------------------------------------------------------- /projects/libspng.org/expected_output.txt: -------------------------------------------------------------------------------- 1 | width: 8 2 | height: 8 3 | bit depth: 1 4 | color type: 3 - indexed color 5 | compression method: 0 6 | filter method: 0 7 | interlace method: 0 8 | -------------------------------------------------------------------------------- /projects/numpy.org/test.f90: -------------------------------------------------------------------------------- 1 | ! example.f90 2 | subroutine add_numbers(a, b, c) 3 | real, intent(in) :: a, b 4 | real, intent(out) :: c 5 | c = a + b 6 | end subroutine add_numbers -------------------------------------------------------------------------------- /projects/poppler.freedesktop.org/test.pdf: -------------------------------------------------------------------------------- 1 | %PDF-1.0 2 | 1 0 obj<>endobj 2 0 obj<>endobj 3 0 obj<>endobj 3 | trailer<> 4 | -------------------------------------------------------------------------------- /projects/sing-box.app/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "log": { 3 | "disabled": false, 4 | "level": "info", 5 | "output": "box.log", 6 | "timestamp": true 7 | } 8 | } -------------------------------------------------------------------------------- /projects/openbao.org/openbao/openbao.env: -------------------------------------------------------------------------------- 1 | PATH=/usr/local/bin:${PATH} 2 | HOME=/var/cache/openbao 3 | PKGX_VERBOSE=0 4 | OPENBAO_VERSION=latest 5 | OPENBAO_CONFIG_PATH=/etc/openbao/openbao.hcl 6 | -------------------------------------------------------------------------------- /projects/pyyaml.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | yaml_parser_t parser; 5 | yaml_parser_initialize(&parser); 6 | yaml_parser_delete(&parser); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /projects/github.com/protobuf-c/protobuf-c/test.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | package test; 3 | message TestCase { 4 | string name = 4; 5 | } 6 | message Test { 7 | repeated TestCase case = 1; 8 | } -------------------------------------------------------------------------------- /projects/gnu.org/readline/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | int main() { 5 | printf("%s\\n", readline("test> ")); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /projects/netlib.org/lapack/test.c: -------------------------------------------------------------------------------- 1 | #include "lapacke.h" 2 | int main() { 3 | void *p = LAPACKE_malloc(sizeof(char)*100); 4 | if (p) { 5 | LAPACKE_free(p); 6 | } 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/proj.org/match.txt: -------------------------------------------------------------------------------- 1 | -4887590.49 7317961.48 Boston, United States 2 | -5542524.55 6982689.05 New York, United States 3 | 171224.94 5415352.81 Paris, France 4 | -8101.66 5707500.23 London, England -------------------------------------------------------------------------------- /projects/gnu.org/gcc/test.f90: -------------------------------------------------------------------------------- 1 | integer,parameter::m=10000 2 | real::a(m), b(m) 3 | real::fact=0.5 4 | do concurrent (i=1:m) 5 | a(i) = a(i) + fact*b(i) 6 | end do 7 | write(*,"(A)") "Hello, world!" 8 | end -------------------------------------------------------------------------------- /projects/pyyaml.org/libyaml/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | yaml_parser_t parser; 5 | yaml_parser_initialize(&parser); 6 | yaml_parser_delete(&parser); 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/xvid.com/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #define NULL 0 3 | int main() { 4 | xvid_gbl_init_t xvid_gbl_init; 5 | xvid_global(NULL, XVID_GBL_INIT, &xvid_gbl_init, NULL); 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/ctags.io/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void func() 5 | { 6 | printf("Hello World!"); 7 | } 8 | 9 | int main() 10 | { 11 | func(); 12 | return 0; 13 | } -------------------------------------------------------------------------------- /projects/github.com/sorah/envchain/README.md: -------------------------------------------------------------------------------- 1 | envchain - set environment variables with macOS keychain or D-Bus secret service 2 | 3 | [https://github.com/sorah/envchain](https://github.com/sorah/envchain) 4 | -------------------------------------------------------------------------------- /projects/wpewebkit.org/libwpe/wpe-test.c: -------------------------------------------------------------------------------- 1 | #include "wpe/wpe.h" 2 | #include 3 | int main() { 4 | printf("%u.%u.%u", wpe_get_major_version(), wpe_get_minor_version(), wpe_get_micro_version()); 5 | } -------------------------------------------------------------------------------- /projects/x.org/xkbfile/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "X11/extensions/XKBfile.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | XkbFileInfo info; 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/github.com/westes/flex/test.flex: -------------------------------------------------------------------------------- 1 | CHAR [a-z][A-Z] 2 | %% 3 | {CHAR}+ printf("%s", yytext); 4 | [ \t\n]+ printf("\n"); 5 | %% 6 | int main() 7 | { 8 | yyin = stdin; 9 | yylex(); 10 | } 11 | -------------------------------------------------------------------------------- /projects/xkbcommon.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | return (xkb_context_new(XKB_CONTEXT_NO_FLAGS) == NULL) 5 | ? EXIT_FAILURE 6 | : EXIT_SUCCESS; 7 | } -------------------------------------------------------------------------------- /projects/fastlane.tools/fastlane: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 3 | export GEM_PATH="$GEM_HOME" 4 | export PATH="$GEM_HOME/gems/bin:$PATH" 5 | exec "$GEM_HOME"/gems/bin/fastlane "$@" 6 | -------------------------------------------------------------------------------- /projects/github.com/jameswoolfenden/pike/example.tf: -------------------------------------------------------------------------------- 1 | resource "aws_s3_bucket" "example" { 2 | bucket = "my-tf-test-bucket" 3 | 4 | tags = { 5 | Name = "My bucket" 6 | Environment = "Dev" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /projects/github.com/luvit/luv/test.lua: -------------------------------------------------------------------------------- 1 | local uv = require('luv') 2 | local timer = uv.new_timer() 3 | timer:start(1000, 0, function() 4 | print("Awake!") 5 | timer:close() 6 | end) 7 | print("Sleeping"); 8 | uv.run() -------------------------------------------------------------------------------- /projects/kluctl.io/deployment.yml: -------------------------------------------------------------------------------- 1 | deployments: 2 | - path: "." 3 | 4 | commonLabels: 5 | examples.kluctl.io/environment: "{{ args.environment }}" 6 | examples.kluctl.io/deployment-project: k8s-deployment-simple 7 | -------------------------------------------------------------------------------- /projects/makotemplates.org/test.py: -------------------------------------------------------------------------------- 1 | from mako.template import Template 2 | 3 | template = Template(filename='test.mako') 4 | 5 | rendered_template = template.render(name='tea.xyz') 6 | 7 | print(rendered_template) 8 | -------------------------------------------------------------------------------- /projects/python.org/typing_extensions/test.py: -------------------------------------------------------------------------------- 1 | import typing_extensions 2 | 3 | class Movie(typing_extensions.TypedDict): 4 | title: str 5 | year: typing_extensions.NotRequired[int] 6 | 7 | m = Movie(title="Grease") -------------------------------------------------------------------------------- /projects/qt.io/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QCoreApplication a(argc, argv); 7 | qDebug() << "Hello World!"; 8 | return 0; 9 | } -------------------------------------------------------------------------------- /projects/rtomayko.github.io/ronn/ronn: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 3 | export GEM_PATH="$GEM_HOME" 4 | export PATH="$GEM_HOME/gems/bin:$PATH" 5 | exec "$GEM_HOME"/gems/bin/ronn "$@" 6 | -------------------------------------------------------------------------------- /projects/asciidoctor.org/asciidoctor: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 3 | export GEM_PATH="$GEM_HOME" 4 | export PATH="$GEM_HOME/gems/bin:$PATH" 5 | exec "$GEM_HOME"/gems/bin/asciidoctor "$@" 6 | -------------------------------------------------------------------------------- /projects/kluctl.io/.kluctl.yml: -------------------------------------------------------------------------------- 1 | discriminator: kluctl-examples-simple-{{ target.name }} 2 | 3 | targets: 4 | - name: simple 5 | args: 6 | environment: simple 7 | 8 | args: 9 | - name: environment 10 | -------------------------------------------------------------------------------- /projects/people.redhat.com/sgrubb/libcap-ng/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | if(capng_have_permitted_capabilities() > -1) 7 | printf("ok"); 8 | } -------------------------------------------------------------------------------- /projects/rubocop.org/rubocop: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 4 | export GEM_PATH="$GEM_HOME" 5 | export PATH="$GEM_HOME/gems/bin:$PATH" 6 | exec "$GEM_HOME"/gems/bin/$(basename $0) "$@" 7 | -------------------------------------------------------------------------------- /projects/frei0r.dyne.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | int mver = FREI0R_MAJOR_VERSION; 5 | if (mver != 0) { 6 | return 0; 7 | } else { 8 | return 1; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /projects/github.com/vburenin/ifacemaker/human.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | type Human struct { 4 | name string 5 | } 6 | 7 | // Returns the name of our Human. 8 | func (h *Human) GetName() string { 9 | return h.name 10 | } -------------------------------------------------------------------------------- /projects/pip.pypa.io/README.md: -------------------------------------------------------------------------------- 1 | # fit & finish 2 | 3 | * we provide all `pip3.x` (that we could build) that automatically invoke 4 | pip via that python 5 | * if a pkgx python is already in the environment, that python is used 6 | -------------------------------------------------------------------------------- /projects/pypa.github.io/pipx/provider.yml: -------------------------------------------------------------------------------- 1 | cmds: 2 | - pygmentize 3 | # - youtube-dl # we pacakge this ourselves 4 | - openai 5 | - thefuck 6 | args: 7 | pygmentize: [pipx, run, --spec, pygments] 8 | ...: [pipx, run] 9 | -------------------------------------------------------------------------------- /projects/wpewebkit.org/wpebackend-fdo/wpe-fdo-test.c: -------------------------------------------------------------------------------- 1 | #include "wpe/fdo.h" 2 | #include 3 | int main() { 4 | printf("%u.%u.%u", wpe_fdo_get_major_version(), wpe_fdo_get_minor_version(), wpe_fdo_get_micro_version()); 5 | } -------------------------------------------------------------------------------- /projects/freedesktop.org/xcb-util-image/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main() { 8 | return 0; 9 | } -------------------------------------------------------------------------------- /projects/github.com/KhronosGroup/Vulkan-Loader/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | uint32_t version; 4 | vkEnumerateInstanceVersion(&version); 5 | return (version >= VK_API_VERSION_1_1) ? 0 : 1; 6 | } -------------------------------------------------------------------------------- /projects/glfw.org/test.c: -------------------------------------------------------------------------------- 1 | #define GLFW_INCLUDE_GLU 2 | #include 3 | #include 4 | int main() 5 | { 6 | if (!glfwInit()) 7 | exit(EXIT_FAILURE); 8 | glfwTerminate(); 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/maven.apache.org/src/main/java/org/tea/MavenTest.java: -------------------------------------------------------------------------------- 1 | package xyz.tea; 2 | public class MavenTest { 3 | public static void main(String[] args) { 4 | System.out.println("Testing Maven with Tea.xyz!"); 5 | } 6 | } -------------------------------------------------------------------------------- /projects/terratag.io/example.tf: -------------------------------------------------------------------------------- 1 | provider "aws" { 2 | region = "us-east-1" 3 | } 4 | 5 | resource "aws_s3_bucket" "bucket" { 6 | bucket = "my-tf-test-bucket" 7 | 8 | tags = { 9 | Name = "My bucket" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /projects/wayland.freedesktop.org/test.c: -------------------------------------------------------------------------------- 1 | #include "wayland-server.h" 2 | #include "wayland-client.h" 3 | 4 | int main(int argc, char* argv[]) { 5 | const char *socket; 6 | struct wl_protocol_logger *logger; 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/cocoapods.org/xcodeproj/xcodeproj: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 4 | export GEM_PATH="$GEM_HOME" 5 | export PATH="$GEM_HOME/gems/bin:$PATH" 6 | exec "$GEM_HOME"/gems/bin/$(basename $0) "$@" 7 | -------------------------------------------------------------------------------- /projects/github.com/OpenSC/pkcs11-helper/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() { 6 | printf("Version: %08x", pkcs11h_getVersion ()); 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/github.com/licensee/licensed/licensed: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 4 | export GEM_PATH="$GEM_HOME" 5 | export PATH="$GEM_HOME/gems/bin:$PATH" 6 | exec "$GEM_HOME"/gems/bin/licensed "$@" 7 | -------------------------------------------------------------------------------- /projects/gnome.org/glib-networking/gtls-test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main (int argc, char *argv[]) 3 | { 4 | if (g_tls_backend_supports_tls (g_tls_backend_get_default())) 5 | return 0; 6 | else 7 | return 1; 8 | } -------------------------------------------------------------------------------- /projects/public.hronopik.de/vid.stab/vidstab_version.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | std::cout << "libvidstab version: " << LIBVIDSTAB_VERSION << std::endl; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /projects/deepwisdom.ai/README.md: -------------------------------------------------------------------------------- 1 | ### Setup your OPENAI_API_KEY and OPENAI_API_MODEL, or make sure they exist in the env 2 | 3 | ``` 4 | mkdir ~/.metagpt/key.yaml 5 | cp config/config.yaml ~/.metagpt/key.yaml 6 | vim ~/.metagpt/key.yaml 7 | ``` 8 | -------------------------------------------------------------------------------- /projects/stedolan.github.io/jq/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "devs": [ 3 | { 4 | "name": "Max Howell", 5 | "github": "mxcl" 6 | }, 7 | { 8 | "name": "Jacob Heider", 9 | "github": "jhheider" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /projects/csie.ntu.edu.tw/cjlin/liblinear/train_classification.txt: -------------------------------------------------------------------------------- 1 | +1 201:1.2 3148:1.8 3983:1 4882:1 2 | -1 874:0.3 3652:1.1 3963:1 6179:1 3 | +1 1168:1.2 3318:1.2 3938:1.8 4481:1 4 | +1 350:1 3082:1.5 3965:1 6122:0.2 5 | -1 99:1 3057:1 3957:1 5838:0.3 -------------------------------------------------------------------------------- /projects/soliditylang.org/fixture.sol: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: GPL-3.0 2 | pragma solidity >=0.5.0; 3 | 4 | contract HelloWorld { 5 | function helloWorld() external pure returns (string memory) { 6 | return "Hello, World!"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /projects/wireshark.org/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | printf("%d.%d.%d", WIRESHARK_VERSION_MAJOR, WIRESHARK_VERSION_MINOR, 6 | WIRESHARK_VERSION_MICRO); 7 | return 0; 8 | } -------------------------------------------------------------------------------- /projects/debian.org/bash-completion/README.md: -------------------------------------------------------------------------------- 1 | Add the following line to your ~/.bash_profile: 2 | `[[ -r "~/.tea/debian.org/bash-completion/v*/etc/profile.d/bash_completion.sh" ]] && . "~/.tea/debian.org/bash-completion/v*/etc/profile.d/bash_completion.sh"`` -------------------------------------------------------------------------------- /projects/cairographics.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char *argv[]) { 4 | cairo_surface_t *surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 600, 400); 5 | cairo_t *context = cairo_create(surface); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /projects/gnu.org/gcc/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | struct exception { }; 3 | int main() 4 | { 5 | std::cout << "Hello, world!" << std::endl; 6 | try { throw exception{}; } 7 | catch (exception) { } 8 | catch (...) { } 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/libpng.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | png_structp png_ptr; 5 | png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); 6 | png_destroy_write_struct(&png_ptr, (png_infopp)NULL); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /projects/sourceforge.net/libtirpc/test.c: -------------------------------------------------------------------------------- 1 | // Thanks, ChatGPT! 2 | #include 3 | #include 4 | 5 | int main() { 6 | printf("If you see this, the program has linked correctly.\n"); 7 | svc_run(); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /projects/videolan.org/x264/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | x264_picture_t pic; 6 | x264_picture_init(&pic); 7 | x264_picture_alloc(&pic, 1, 1, 1); 8 | x264_picture_clean(&pic); 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/xerces.apache.org/xerces-c/ducks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Duck One 6 | duck@foo.com 7 | 8 | 9 | -------------------------------------------------------------------------------- /projects/github.com/terraform-linters/tflint/test.tf: -------------------------------------------------------------------------------- 1 | terraform { 2 | required_providers { 3 | aws = { 4 | source = "hashicorp/aws" 5 | version = "~> 4" 6 | } 7 | } 8 | } 9 | 10 | provider "aws" { 11 | region = var.aws_region 12 | } 13 | -------------------------------------------------------------------------------- /projects/libpipeline.gitlab.io/libpipeline/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | pipeline *p = pipeline_new(); 4 | pipeline_command_args(p, "echo", "Hello world", NULL); 5 | pipeline_command_args(p, "cat", NULL); 6 | return pipeline_run(p); 7 | } -------------------------------------------------------------------------------- /projects/pkl-lang.org/template.pkl: -------------------------------------------------------------------------------- 1 | name: String = "Writing a Template" 2 | 3 | part: Int = 3 4 | 5 | hasExercises: Boolean = true 6 | 7 | amountLearned: Float = 13.37 8 | 9 | duration: Duration = 30.min 10 | 11 | bandwidthRequirementPerSecond: DataSize = 50.mb -------------------------------------------------------------------------------- /projects/pngquant.org/lib/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | liq_attr *attr = liq_attr_create(); 5 | if (!attr) { 6 | return 1; 7 | } else { 8 | liq_attr_destroy(attr); 9 | return 0; 10 | } 11 | } -------------------------------------------------------------------------------- /projects/qt.io/hello.pro: -------------------------------------------------------------------------------- 1 | QT += core 2 | QT -= gui 3 | TARGET = hello 4 | CONFIG += console 5 | CONFIG -= app_bundle 6 | TEMPLATE = app 7 | SOURCES += main.cpp 8 | QMAKE_LFLAGS += -Wl,-rpath,$$(PKGX_DIR) 9 | -------------------------------------------------------------------------------- /projects/facebook.com/fb303/test.cpp: -------------------------------------------------------------------------------- 1 | #include "fb303/thrift/gen-cpp2/BaseService.h" 2 | #include 3 | int main() { 4 | auto service = facebook::fb303::cpp2::BaseServiceSvIf(); 5 | std::cout << service.getGeneratedName() << std::endl; 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/github.com/kevinburke/go-bindata/patch-go-modules.diff: -------------------------------------------------------------------------------- 1 | diff --git a/go.mod b/go.mod 2 | new file mode 100644 3 | index 0000000..ce4eba8 4 | --- /dev/null 5 | +++ b/go.mod 6 | @@ -0,0 +1,3 @@ 7 | +module github.com/kevinburke/go-bindata 8 | + 9 | +go 1.19 10 | 11 | -------------------------------------------------------------------------------- /projects/pixman.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char *argv[]) 3 | { 4 | pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff }; 5 | pixman_image_t *image = pixman_image_create_solid_fill(&white); 6 | pixman_image_unref(image); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /projects/code.videolan.org/aribb24/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | arib_instance_t *ptr = arib_instance_new(NULL); 6 | if (!ptr) 7 | return 1; 8 | arib_instance_destroy(ptr); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /projects/linux-pam.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | int main() { 9 | return EXIT_SUCCESS; 10 | } 11 | -------------------------------------------------------------------------------- /projects/ollama.ai/Modelfile: -------------------------------------------------------------------------------- 1 | FROM llama2 2 | 3 | # set the temperature to 1 [higher is more creative, lower is more coherent] 4 | PARAMETER temperature 1 5 | 6 | # set the system prompt 7 | SYSTEM """ 8 | You are Mario from Super Mario Bros. Answer as Mario, the assistant, only. 9 | """ -------------------------------------------------------------------------------- /projects/riverbankcomputing.com/sip/pyproject.toml: -------------------------------------------------------------------------------- 1 | # Specify sip v6 as the build system for the package. 2 | [build-system] 3 | requires = ["sip >=6, <7"] 4 | build-backend = "sipbuild.api" 5 | 6 | # Specify the PEP 566 metadata for the project. 7 | [tool.sip.metadata] 8 | name = "fib" -------------------------------------------------------------------------------- /projects/github.com/ArionThinker/tea-package-builder/tea-package-builder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | d="$(cd "$(dirname "$0")/../Applications" && pwd)" 4 | 5 | if test "$1" = "--version"; then 6 | basename "$(dirname "$d")" 7 | exit 0 8 | fi 9 | 10 | open "$d"/tea-package-builder.app -------------------------------------------------------------------------------- /projects/github.com/blynn/nex/README.md: -------------------------------------------------------------------------------- 1 | Nex is a lexer similar to Lex/Flex that: 2 | 3 | - generates Go code instead of C code 4 | 5 | - integrates with Go’s yacc instead of YACC/Bison 6 | 7 | - supports UTF-8 8 | 9 | - supports nested structural regular expressions. 10 | 11 | -------------------------------------------------------------------------------- /projects/github.com/neovim/unibilium/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | setvbuf(stdout, NULL, _IOLBF, 0); 6 | unibi_term *ut = unibi_dummy(); 7 | unibi_destroy(ut); 8 | printf("%s", unibi_terminfo_dirs); 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/github.com/sekrit-twc/zimg/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | zimg_image_format format; 6 | zimg_image_format_default(&format, ZIMG_API_VERSION); 7 | assert(ZIMG_MATRIX_UNSPECIFIED == format.matrix_coefficients); 8 | return 0; 9 | } -------------------------------------------------------------------------------- /projects/gnome.org/libxml2/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0"); 5 | xmlNodePtr root_node = xmlNewNode(NULL, BAD_CAST "root"); 6 | xmlDocSetRootElement(doc, root_node); 7 | xmlFreeDoc(doc); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /projects/jpeg.org/jpegxl/fixture1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | JxlEncoder* enc = JxlEncoderCreate(NULL); 6 | if (enc == NULL) { 7 | return EXIT_FAILURE; 8 | } 9 | JxlEncoderDestroy(enc); 10 | return EXIT_SUCCESS; 11 | } 12 | -------------------------------------------------------------------------------- /projects/luajit.org/test.lua: -------------------------------------------------------------------------------- 1 | function fibonacci(n) 2 | if n <= 0 then 3 | return 0 4 | elseif n == 1 then 5 | return 1 6 | else 7 | return fibonacci(n - 1) + fibonacci(n - 2) 8 | end 9 | end 10 | 11 | print("Fibonacci(10) =", fibonacci(10)) 12 | -------------------------------------------------------------------------------- /projects/man-db.gitlab.io/man-db/README.md: -------------------------------------------------------------------------------- 1 | man-db does not know about Xcode's manpages by default. You may want to add them to your MANPATH. Obtain the complete list of Xcode man directories with: 2 | 3 | find $(xcode-select -p) -type d | /usr/bin/grep '/usr/share/man$' | /usr/bin/tr -s '\n' ':'; echo -------------------------------------------------------------------------------- /projects/github.com/Esri/lerc/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | const int infoArrSize = (int)LercNS::InfoArrOrder::_last; 5 | const int dataRangeArrSize = (int)LercNS::DataRangeArrOrder::_last; 6 | lerc_status hr(0); 7 | 8 | return 0 ; 9 | } -------------------------------------------------------------------------------- /projects/digip.org/jansson/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() 4 | { 5 | json_t *json; 6 | json_error_t error; 7 | json = json_loads("\"foo\"", JSON_DECODE_ANY, &error); 8 | assert(json && json_is_string(json)); 9 | json_decref(json); 10 | return 0; 11 | } -------------------------------------------------------------------------------- /projects/github.com/zsh-users/zsh-autosuggestions/README.md: -------------------------------------------------------------------------------- 1 | To activate the autosuggestions, add the following at the end of your .zshrc: 2 | 3 | source $ZSH_AUTOSUGGESTIONS_ROOT/share/zsh-autosuggestions/zsh-autosuggestions.zsh 4 | 5 | You will also need to restart your terminal for this change to take effect. -------------------------------------------------------------------------------- /projects/open-mpi.org/hellousempif08.f90: -------------------------------------------------------------------------------- 1 | program hello 2 | use mpi_f08 3 | integer rank, size, tag, status(MPI_STATUS_SIZE) 4 | call MPI_INIT() 5 | call MPI_COMM_SIZE(MPI_COMM_WORLD, size) 6 | call MPI_COMM_RANK(MPI_COMM_WORLD, rank) 7 | print*, 'node', rank, ': Hello Fortran world' 8 | call MPI_FINALIZE() 9 | end -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "postAttachCommand": "curl https://pkgx.sh | sh && pkgx dev integrate && echo pkgx integrated && ((echo 'dev && echo dev environment loaded || echo error loading dev environment; exec $SHELL') | exec bash -i)", 3 | "image": "mcr.microsoft.com/devcontainers/base:debian" 4 | } 5 | -------------------------------------------------------------------------------- /projects/abseil.io/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include "absl/strings/str_join.h" 5 | 6 | int main() { 7 | std::vector v = {"foo","bar","baz"}; 8 | std::string s = absl::StrJoin(v, "-"); 9 | std::cout << "Joined string: " << s << "\\n"; 10 | } -------------------------------------------------------------------------------- /projects/github.com/xiph/speexdsp/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | int main() { 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/gnu.org/gcc/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | mpz_t i, j, k; 7 | mpz_init_set_str(i, "1a", 16); 8 | mpz_init(j); 9 | mpz_init(k); 10 | mpz_sqrtrem(j, k, i); 11 | if (mpz_get_si(j) != 5 || mpz_get_si(k) != 1) 12 | abort(); 13 | return 0; 14 | } -------------------------------------------------------------------------------- /projects/gnu.org/gmp/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | mpz_t i, j, k; 6 | mpz_init_set_str (i, "1a", 16); 7 | mpz_init (j); 8 | mpz_init (k); 9 | mpz_sqrtrem (j, k, i); 10 | if (mpz_get_si (j) != 5 || mpz_get_si (k) != 1) abort(); 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /projects/gts.sourceforge.net/test.c: -------------------------------------------------------------------------------- 1 | #include "gts.h" 2 | int main() { 3 | GtsRange r; 4 | gts_range_init(&r); 5 | 6 | for (int i = 0; i < 10; ++i) 7 | gts_range_add_value(&r, i); 8 | 9 | gts_range_update(&r); 10 | 11 | if (r.n == 10) return 0; 12 | return 1; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /projects/npmjs.com/npx-shim: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # or npx fails ※ 4 | # FIXME a patch to npm here then upstream would be preferable 5 | mkdir -p ~/.local/lib 6 | 7 | d="$(cd "$(dirname $0)"/.. && pwd)" 8 | exec "$d"/lib/node_modules/npm/bin/npx-cli.js "$@" 9 | 10 | # ※ https://github.com/teaxyz/cli/issues/532 11 | -------------------------------------------------------------------------------- /.github/scripts/qa-required.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env -S pkgx deno run --allow-read 2 | 3 | import { hooks } from "pkgx" 4 | 5 | const project = Deno.args[0] 6 | 7 | const yml = await hooks.usePantry().project(project).yaml() 8 | const qaRequired = yml?.["test"]?.["qa-required"] === true 9 | Deno.exit(qaRequired ? 0 : 1) 10 | -------------------------------------------------------------------------------- /projects/duktape.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "duktape.h" 3 | 4 | int main(int argc, char *argv[]) { 5 | duk_context *ctx = duk_create_heap_default(); 6 | duk_eval_string(ctx, "1 + 2"); 7 | printf("1 + 2 = %d\\n", (int) duk_get_int(ctx, -1)); 8 | duk_destroy_heap(ctx); 9 | return 0; 10 | } -------------------------------------------------------------------------------- /projects/github.com/rupa/z/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/rupa/z/archive/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: z 6 | 7 | versions: 8 | github: rupa/z/tags 9 | 10 | build: 11 | install -D z.sh {{prefix}}/z.sh 12 | 13 | test: 14 | source {{prefix}}/z.sh 15 | -------------------------------------------------------------------------------- /projects/speex.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | SpeexBits bits; 5 | void *enc_state; 6 | 7 | speex_bits_init(&bits); 8 | enc_state = speex_encoder_init(&speex_nb_mode); 9 | 10 | speex_bits_destroy(&bits); 11 | speex_encoder_destroy(enc_state); 12 | 13 | return 0; 14 | } -------------------------------------------------------------------------------- /projects/github.com/open-source-parsers/jsoncpp/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | Json::Value root; 4 | Json::CharReaderBuilder builder; 5 | std::string errs; 6 | std::istringstream stream1; 7 | stream1.str("[1, 2, 3]"); 8 | return Json::parseFromStream(builder, stream1, &root, &errs) ? 0: 1; 9 | } -------------------------------------------------------------------------------- /projects/jpeg.org/jpegxl/fixture2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | void* runner = JxlThreadParallelRunnerCreate(NULL, 1); 6 | if (runner == NULL) { 7 | return EXIT_FAILURE; 8 | } 9 | JxlThreadParallelRunnerDestroy(runner); 10 | return EXIT_SUCCESS; 11 | } 12 | -------------------------------------------------------------------------------- /projects/open-mpi.org/hellousempi.f90: -------------------------------------------------------------------------------- 1 | program hello 2 | use mpi 3 | integer rank, size, ierror, tag, status(MPI_STATUS_SIZE) 4 | call MPI_INIT(ierror) 5 | call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror) 6 | call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror) 7 | print*, 'node', rank, ': Hello Fortran world' 8 | call MPI_FINALIZE(ierror) 9 | end -------------------------------------------------------------------------------- /projects/npmjs.com/provider.yml: -------------------------------------------------------------------------------- 1 | cmds: 2 | - truffle 3 | - ganache 4 | - hardhat 5 | - kill-port 6 | - chalk 7 | - http-server 8 | - vercel 9 | - changelogithub 10 | - get-port 11 | args: 12 | chalk: npx --yes --package=chalk-cli -- 13 | get-port: npx --yes --package=get-port-cli -- 14 | ...: [npx, --yes, --] 15 | -------------------------------------------------------------------------------- /projects/open-mpi.org/hellof.f90: -------------------------------------------------------------------------------- 1 | program hello 2 | include 'mpif.h' 3 | integer rank, size, ierror, tag, status(MPI_STATUS_SIZE) 4 | call MPI_INIT(ierror) 5 | call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror) 6 | call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror) 7 | print*, 'node', rank, ': Hello Fortran world' 8 | call MPI_FINALIZE(ierror) 9 | end -------------------------------------------------------------------------------- /projects/github.com/danfis/libccd/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | int main() { 5 | #ifndef CCD_DOUBLE 6 | assert(false); 7 | #endif 8 | ccdVec3PointSegmentDist2( 9 | ccd_vec3_origin, ccd_vec3_origin, 10 | ccd_vec3_origin, NULL); 11 | return 0; 12 | } -------------------------------------------------------------------------------- /projects/github.com/skystrife/cpptoml/test.cc: -------------------------------------------------------------------------------- 1 | #include "cpptoml.h" 2 | #include 3 | 4 | int main() { 5 | auto tea = cpptoml::parse_file("pkgx.toml"); 6 | auto s = tea->get_as("str"); 7 | 8 | if (s) { 9 | std::cout << *s << std::endl; 10 | return 0; 11 | } 12 | 13 | return 1; 14 | } -------------------------------------------------------------------------------- /projects/libwebsockets.org/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | struct lws_context_creation_info info; 6 | memset(&info, 0, sizeof(info)); 7 | struct lws_context *context; 8 | context = lws_create_context(&info); 9 | lws_context_destroy(context); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /projects/pugixml.org/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) { 6 | pugi::xml_document doc; 7 | pugi::xml_parse_result result = doc.load_file("test.xml"); 8 | 9 | assert(result); 10 | assert(strcmp(doc.child_value("root"), "Hello world!") == 0); 11 | } -------------------------------------------------------------------------------- /projects/cyrusimap.org/cyrus-sasl/fixture.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(void) { 6 | char buf[123] = "\\0"; 7 | unsigned len = 0; 8 | int ret = sasl_encode64("Hello, world!", 13, buf, sizeof buf, &len); 9 | assert(ret == SASL_OK); 10 | printf("%u %s", len, buf); 11 | return 0; 12 | } -------------------------------------------------------------------------------- /projects/github.com/json-c/json-c/fixture.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | json_object *obj = json_object_new_object(); 5 | json_object *value = json_object_new_string("value"); 6 | json_object_object_add(obj, "key", value); 7 | printf("%s\n", json_object_to_json_string(obj)); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /projects/jemalloc.net/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(void) { 5 | 6 | for (size_t i = 0; i < 1000; i++) { 7 | // Leak some memory 8 | malloc(i * 100); 9 | } 10 | 11 | // Dump allocator statistics to stderr 12 | malloc_stats_print(NULL, NULL, NULL); 13 | } 14 | -------------------------------------------------------------------------------- /projects/facebook.com/edencommon/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace facebook::eden; 6 | 7 | int main(int argc, char **argv) { 8 | if (argc <= 1) return 1; 9 | int pid = std::atoi(argv[1]); 10 | std::cout << readProcessName(pid) << std::endl; 11 | return 0; 12 | } -------------------------------------------------------------------------------- /projects/gnome.org/libxslt/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | 6 | int main() { 7 | xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0"); 8 | xsltStylesheetPtr cur = NULL; 9 | cur = xsltLoadStylesheetPI(doc); 10 | xsltFreeStylesheet(cur); 11 | xmlFreeDoc(doc); 12 | return 0; 13 | } -------------------------------------------------------------------------------- /projects/x.org/xcb/configure.patch: -------------------------------------------------------------------------------- 1 | diff --git a/configure b/configure 2 | index 2503d4b..0c36685 100755 3 | --- a/configure 4 | +++ b/configure 5 | @@ -20662,7 +20662,7 @@ printf "%s\n" "yes" >&6; } 6 | fi 7 | NEEDED="xau >= 0.99.2" 8 | case $host_os in 9 | -linux*) ;; 10 | +linux*|darwin*) ;; 11 | *) NEEDED="$NEEDED pthread-stubs" ;; 12 | esac 13 | -------------------------------------------------------------------------------- /projects/github.com/oneapi-src/oneTBB/cores-types.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | const auto numa_nodes = tbb::info::numa_nodes(); 6 | const auto size = numa_nodes.size(); 7 | const auto type = numa_nodes.front(); 8 | 9 | return size == 1 && type == tbb::task_arena::automatic ? EXIT_SUCCESS : EXIT_FAILURE; 10 | } -------------------------------------------------------------------------------- /projects/jugit.fz-juelich.de/mlz/libcerf/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main (void) { 8 | double _Complex a = 1.0 - 0.4I; 9 | a = cerf(a); 10 | if (fabs(creal(a)-0.910867) > 1.e-6) abort(); 11 | if (fabs(cimag(a)+0.156454) > 1.e-6) abort(); 12 | return 0; 13 | } -------------------------------------------------------------------------------- /projects/github.com/numactl/numactl/mynode.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | int nd; 8 | char *man = numa_alloc(1000); 9 | *man = 1; 10 | if (get_mempolicy(&nd, NULL, 0, man, MPOL_F_NODE | MPOL_F_ADDR) < 0) 11 | perror("get_mempolicy"); 12 | else 13 | printf("my node %d\n", nd); 14 | return 0; 15 | } -------------------------------------------------------------------------------- /projects/x.org/applewm/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(void) 6 | { 7 | Display *disp = XOpenDisplay(NULL); 8 | if (disp == NULL) 9 | { 10 | fprintf(stderr, "Unable to connect to display\\n"); 11 | return 0; 12 | } 13 | 14 | XAppleWMSetFrontProcess(disp); 15 | return 0; 16 | } -------------------------------------------------------------------------------- /projects/jenv.be/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jenv/jenv/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: jenv/jenv 7 | 8 | build: 9 | script: 10 | - mkdir -p "{{prefix}}" 11 | - mv bin libexec fish available-plugins "{{prefix}}" 12 | 13 | provides: 14 | - bin/jenv 15 | 16 | test: jenv --version | grep {{version}} 17 | -------------------------------------------------------------------------------- /projects/mkdocs.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/mkdocs/mkdocs/archive/refs/tags/{{ version.raw }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: mkdocs/mkdocs 7 | 8 | dependencies: 9 | python.org: '>=3<3.12' 10 | 11 | build: 12 | python-venv.sh {{prefix}}/bin/mkdocs 13 | 14 | provides: 15 | - bin/mkdocs 16 | 17 | test: 18 | mkdocs --help 19 | -------------------------------------------------------------------------------- /projects/gnome.org/glib/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(void) 4 | { 5 | gchar *result_1, *result_2; 6 | char *str = "string"; 7 | result_1 = g_convert(str, strlen(str), "ASCII", "UTF-8", NULL, NULL, NULL); 8 | result_2 = g_convert(result_1, strlen(result_1), "UTF-8", "ASCII", NULL, NULL, NULL); 9 | return (strcmp(str, result_2) == 0) ? 0 : 1; 10 | } 11 | -------------------------------------------------------------------------------- /projects/cmocka.org/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | static void null_test_success(void **state) { 7 | (void) state; /* unused */ 8 | } 9 | 10 | int main(void) { 11 | const struct CMUnitTest tests[] = { 12 | cmocka_unit_test(null_test_success), 13 | }; 14 | return cmocka_run_group_tests(tests, NULL, NULL); 15 | } -------------------------------------------------------------------------------- /projects/github.com/postmodern/chruby/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/postmodern/chruby/releases/download/v{{version}}/chruby-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: postmodern/chruby 7 | 8 | build: make --jobs {{ hw.concurrency }} install 9 | 10 | provides: 11 | - bin/chruby-exec 12 | 13 | test: chruby-exec --version | grep {{version}} 14 | -------------------------------------------------------------------------------- /projects/keephq.dev/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/keephq/keep/archive/refs/heads/main.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | #TODO when they add releases: github: keephq/keep 7 | - 0.0.0 8 | 9 | dependencies: 10 | python.org: '>=3<3.12' 11 | 12 | build: python-venv.sh {{prefix}}/bin/keep 13 | 14 | test: keep version 15 | 16 | provides: 17 | - bin/keep 18 | -------------------------------------------------------------------------------- /projects/openmp.llvm.org/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main (int argc, char** argv) { 4 | std::array arr = {0,0}; 5 | #pragma omp parallel num_threads(2) 6 | { 7 | size_t tid = omp_get_thread_num(); 8 | arr.at(tid) = tid + 1; 9 | } 10 | if(arr.at(0) == 1 && arr.at(1) == 2) 11 | return 0; 12 | else 13 | return 1; 14 | } -------------------------------------------------------------------------------- /projects/stedolan.github.io/jq/lgamma_r.diff: -------------------------------------------------------------------------------- 1 | --- a/src/builtin.c.orig 2022-10-14 21:06:52.000000000 -0400 2 | +++ b/src/builtin.c 2022-10-14 21:07:26.000000000 -0400 3 | @@ -43,6 +43,8 @@ 4 | #include "jv_unicode.h" 5 | #include "jv_alloc.h" 6 | 7 | +// https://github.com/stedolan/jq/issues/1936 8 | +char lgamma_r (); 9 | 10 | static jv type_error(jv bad, const char* msg) { 11 | char errbuf[15]; 12 | -------------------------------------------------------------------------------- /projects/bloomreach.com/s4cmd/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/bloomreach/s4cmd/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: bloomreach/s4cmd/tags 7 | 8 | dependencies: 9 | python.org: '>=3<3.12' 10 | 11 | build: 12 | python-venv.sh {{prefix}}/bin/s4cmd 13 | 14 | provides: 15 | - bin/s4cmd 16 | 17 | test: 18 | s4cmd --help 19 | -------------------------------------------------------------------------------- /projects/ccache.dev/README.md: -------------------------------------------------------------------------------- 1 | To install symlinks for compilers that will automatically use 2 | ccache, prepend this directory to your PATH: 3 | `~/.tea/ccache.dev/v*/libexec` 4 | 5 | If this is an upgrade and you have previously added the symlinks to 6 | your PATH, you may need to modify it to the path specified above so 7 | it points to the current version. 8 | 9 | NOTE: ccache can prevent some software from compiling. -------------------------------------------------------------------------------- /projects/github.com/lra/mackup/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/lra/mackup/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: lra/mackup/releases/tags 7 | 8 | dependencies: 9 | python.org: '>=3<3.12' 10 | 11 | build: 12 | python-venv.sh {{prefix}}/bin/mackup 13 | 14 | provides: 15 | - bin/mackup 16 | 17 | test: 18 | mackup --help 19 | -------------------------------------------------------------------------------- /projects/s3tools.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/s3tools/s3cmd/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: s3tools/s3cmd 7 | strip: /^v/ 8 | 9 | dependencies: 10 | python.org: '>=3<3.12' 11 | 12 | build: 13 | python-venv.sh {{prefix}}/bin/s3cmd 14 | 15 | provides: 16 | - bin/s3cmd 17 | 18 | test: 19 | s3cmd --help 20 | -------------------------------------------------------------------------------- /projects/github.com/Carthage/Carthage/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Carthage/Carthage/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | versions: 5 | github: Carthage/Carthage 6 | platforms: 7 | - darwin 8 | build: 9 | script: 10 | - make prefix_install PREFIX={{prefix}} 11 | provides: 12 | - bin/carthage 13 | test: 14 | script: 15 | - carthage version | grep {{version}} -------------------------------------------------------------------------------- /projects/github.com/keith/zap/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/keith/zap/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: keith/zap/tags 7 | 8 | build: 9 | script: | 10 | mkdir -p "{{prefix}}"/bin 11 | mv ./zap "{{prefix}}"/bin 12 | 13 | provides: 14 | - bin/zap 15 | 16 | test: | 17 | test "$(zap)" = "Usage: zap [-y] [appname]" 18 | -------------------------------------------------------------------------------- /projects/pyyaml.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://pyyaml.org/download/libyaml/yaml-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: yaml/libyaml/tags 7 | # strip: /^v/ 8 | 9 | build: 10 | script: | 11 | ./configure --prefix="{{prefix}}" 12 | make --jobs {{hw.concurrency}} install 13 | 14 | test: 15 | script: | 16 | cc test.c -lyaml 17 | ./a.out 18 | -------------------------------------------------------------------------------- /projects/python.org/patch3.4.diff: -------------------------------------------------------------------------------- 1 | diff --git a/Python/random.c b/Python/random.c 2 | index 93d300d..396041d 100644 3 | --- a/Python/random.c 4 | +++ b/Python/random.c 5 | @@ -3,6 +3,9 @@ 6 | #include 7 | #else 8 | #include 9 | +#if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY) 10 | +#include 11 | +#endif 12 | #ifdef HAVE_SYS_STAT_H 13 | #include 14 | #endif 15 | -------------------------------------------------------------------------------- /.github/deno.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": false, 4 | "strict": true 5 | }, 6 | "pkgx": { 7 | "dependencies": { 8 | "deno.land": "^1.30" 9 | } 10 | }, 11 | "imports": { 12 | "pkgx": "https://deno.land/x/libpkgx@v0.15.1/mod.ts", 13 | "pkgx/": "https://deno.land/x/libpkgx@v0.15.1/src/", 14 | "is-what": "https://deno.land/x/is_what@v4.1.15/src/index.ts" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /projects/cocoapods.org/proxy: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | export GEM_HOME="$(cd "$(dirname "$0")"/.. && pwd)" 3 | export GEM_PATH="$GEM_HOME" 4 | export PATH="$GEM_HOME/gems/bin:$PATH" 5 | 6 | # Conflicting with Apple's ncurses is bad. See: 7 | # https://github.com/pkgxdev/pantry/issues/10454 8 | 9 | export CPATH="$(echo $CPATH | tr ':' '\n' | grep -v 'invisible-island.net/ncurses' | tr '\n' ':')" 10 | 11 | exec "$GEM_HOME"/gems/bin/pod "$@" 12 | -------------------------------------------------------------------------------- /projects/r-wos.org/gti/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/rwos/gti/archive/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: rwos/gti/tags 7 | 8 | provides: 9 | - bin/gti 10 | 11 | build: 12 | script: | 13 | make gti 14 | mkdir -p "{{prefix}}"/bin 15 | mv gti "{{prefix}}"/bin 16 | 17 | test: 18 | dependencies: 19 | git-scm.org: ^2 20 | script: gti init 21 | -------------------------------------------------------------------------------- /projects/apache.org/zookeeper/README.md: -------------------------------------------------------------------------------- 1 | # Apache ZooKeeper Usage Notes 2 | 3 | ## Starting the Server 4 | 5 | To start the ZooKeeper server, specify the path to your configuration directory using the `ZOOCFGDIR` environment variable: 6 | 7 | ```bash 8 | export ZOOCFGDIR=/path/to/your/config 9 | zkServer start 10 | ``` 11 | 12 | ## Stopping the Server 13 | 14 | ```bash 15 | zkServer stop 16 | ``` 17 | 18 | That's it! Happy ZooKeeping! -------------------------------------------------------------------------------- /projects/gnome.org/libxslt/xslt-config.patch.in: -------------------------------------------------------------------------------- 1 | diff --git a/xslt-config.in b/xslt-config.in 2 | index f68df0f..b9bd2f4 100644 3 | --- a/xslt-config.in 4 | +++ b/xslt-config.in 5 | @@ -1,6 +1,7 @@ 6 | #! /bin/sh 7 | 8 | -prefix=@prefix@ 9 | +prefix="$(cd "$(dirname "$0")/.." && pwd)" 10 | +libxml2_prefix="$(cd "$prefix/../../libxml2/v2" && pwd)" 11 | exec_prefix=@exec_prefix@ 12 | exec_prefix_set=no 13 | includedir=@includedir@ 14 | -------------------------------------------------------------------------------- /projects/python.org/patch3.5.diff: -------------------------------------------------------------------------------- 1 | diff --git a/Python/random.c b/Python/random.c 2 | index 93d300d..396041d 100644 3 | --- a/Python/random.c 4 | +++ b/Python/random.c 5 | @@ -3,6 +3,9 @@ 6 | # include 7 | #else 8 | # include 9 | +# if defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY) 10 | +# include 11 | +# endif 12 | # ifdef HAVE_SYS_STAT_H 13 | # include 14 | # endif -------------------------------------------------------------------------------- /projects/crates.io/du-dust/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/bootandy/dust/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/dust 7 | 8 | versions: 9 | github: bootandy/dust 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.60' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: dust 18 | -------------------------------------------------------------------------------- /projects/cruft.github.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/cruft/cruft/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: cruft/cruft 7 | 8 | dependencies: 9 | python.org: '>=3.7<3.12' 10 | git-scm.org: ^2 11 | 12 | build: 13 | script: | 14 | python-venv.sh {{prefix}}/bin/cruft 15 | 16 | test: 17 | script: 18 | - cruft --help 19 | 20 | provides: 21 | - bin/cruft 22 | -------------------------------------------------------------------------------- /projects/deno.land/unzip_option_feature.diff: -------------------------------------------------------------------------------- 1 | diff -ru a/cli/main.rs b/cli/main.rs 2 | --- a/cli/main.rs 2023-01-26 19:14:19 3 | +++ b/cli/main.rs 2023-01-26 19:15:00 4 | @@ -1,5 +1,9 @@ 5 | // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. 6 | 7 | +// tea::FIXME 8 | +// remove this once rust-lang.org>1.65.0 is unblocked 9 | +#![feature(unzip_option)] 10 | + 11 | mod args; 12 | mod auth_tokens; 13 | mod cache; 14 | -------------------------------------------------------------------------------- /projects/hboehm.info/gc/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "gc.h" 4 | 5 | int main(void) { 6 | int i; 7 | 8 | GC_INIT(); 9 | for (i = 0; i < 10000000; ++i) { 10 | int **p = (int **) GC_MALLOC(sizeof(int *)); 11 | int *q = (int *) GC_MALLOC_ATOMIC(sizeof(int)); 12 | assert(*p == 0); 13 | *p = (int *) GC_REALLOC(q, 2 * sizeof(int)); 14 | } 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /projects/open-mpi.org/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() { 5 | int size, rank, nameLen; 6 | char name[MPI_MAX_PROCESSOR_NAME]; 7 | MPI_Init(NULL, NULL); 8 | MPI_Comm_size(MPI_COMM_WORLD, &size); 9 | MPI_Comm_rank(MPI_COMM_WORLD, &rank); 10 | MPI_Get_processor_name(name, &nameLen); 11 | printf("[%d/%d] Hello, world! My name is %s.\\n", rank, size, name); 12 | MPI_Finalize(); 13 | return 0; 14 | } -------------------------------------------------------------------------------- /projects/ordinals.com/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/casey/ord/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: casey/ord 7 | 8 | build: 9 | dependencies: 10 | rust-lang.org: ^1.67.0 11 | rust-lang.org/cargo: ^0.65 12 | script: cargo install --path=. --root={{prefix}} 13 | test: cargo test 14 | 15 | test: ord epochs 16 | 17 | provides: 18 | - bin/ord 19 | -------------------------------------------------------------------------------- /projects/github.com/aws-cloudformation/cfn-lint/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | AWSTemplateFormatVersion: '2010-09-09' 3 | Resources: 4 | # Helps tests map resource types 5 | IamPipeline: 6 | Type: "AWS::CloudFormation::Stack" 7 | Properties: 8 | TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/bucket-dne-${AWS::Region}/${AWS::AccountId}/pipeline.yaml' 9 | Parameters: 10 | DeploymentName: iam-pipeline 11 | Deploy: 'auto' -------------------------------------------------------------------------------- /projects/github.com/npiv/chatblade/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/npiv/chatblade/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: npiv/chatblade/releases/tags 7 | strip: /^v/ 8 | 9 | dependencies: 10 | python.org: '>=3<3.12' 11 | 12 | build: 13 | python-venv.sh {{prefix}}/bin/chatblade 14 | 15 | provides: 16 | - bin/chatblade 17 | 18 | test: 19 | chatblade --help 20 | -------------------------------------------------------------------------------- /projects/openai.com/openai-python/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/openai/openai-python/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: openai/openai-python/releases 7 | strip: /^v/ 8 | 9 | dependencies: 10 | python.org: '>=3<3.12' 11 | 12 | build: 13 | python-venv.sh {{prefix}}/bin/openai 14 | 15 | provides: 16 | - bin/openai 17 | 18 | test: 19 | openai --help 20 | -------------------------------------------------------------------------------- /projects/crates.io/hac-client/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/wllfaria/hac/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/hac 7 | 8 | versions: 9 | github: wllfaria/hac 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path hac-client --root {{prefix}} 16 | 17 | test: hac --help 18 | -------------------------------------------------------------------------------- /projects/github.com/adrienverge/yamllint/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/adrienverge/yamllint/archive/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: adrienverge/yamllint/tags 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | pyyaml.org: '*' 11 | 12 | build: python-venv.sh {{prefix}}/bin/yamllint 13 | 14 | provides: 15 | - bin/yamllint 16 | 17 | test: yamllint --version | grep {{version}} 18 | -------------------------------------------------------------------------------- /projects/github.com/princjef/gomarkdoc/example.go: -------------------------------------------------------------------------------- 1 | // Package example will show you the power of gomarkdoc. 2 | package example 3 | 4 | // Example is just magical. 5 | type Example struct { 6 | // Foo is an int. 7 | Foo int 8 | 9 | // Bar is a string. 10 | Bar string 11 | } 12 | 13 | // New creates an instance of Example with sensible default values. 14 | func New() *Example { 15 | return &Example{ 16 | Foo: 42, 17 | Bar: "Baz", 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /projects/freedesktop.org/mesa-glu/test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char* argv[]) { 4 | static GLUtriangulatorObj *tobj; 5 | GLdouble vertex[3], dx, dy, len; 6 | int i = 0; 7 | int count = 5; 8 | tobj = gluNewTess(); 9 | gluBeginPolygon(tobj); 10 | for (i = 0; i < count; i++) { 11 | vertex[0] = 1; 12 | vertex[1] = 2; 13 | vertex[2] = 0; 14 | gluTessVertex(tobj, vertex, 0); 15 | } 16 | gluEndPolygon(tobj); 17 | return 0; 18 | } -------------------------------------------------------------------------------- /projects/crates.io/names/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/fnichol/names/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/names 7 | 8 | versions: 9 | github: fnichol/names 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: test $(names 10 | wc -l) = 10 18 | -------------------------------------------------------------------------------- /projects/crates.io/sigrs/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ynqa/sig/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/sig 7 | 8 | versions: 9 | github: ynqa/sig 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: test "$(sig --version)" = "sig {{version}}" 18 | -------------------------------------------------------------------------------- /projects/denilson.sa.nom.br/prettyping/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/denilsonsa/prettyping/archive/refs/tags/v{{ version }}/prettyping-{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: denilsonsa/prettyping/tags 7 | 8 | provides: 9 | - bin/prettyping 10 | 11 | build: 12 | script: | 13 | mkdir -p "{{ prefix }}/bin" 14 | mv prettyping {{ prefix }}/bin 15 | 16 | test: | 17 | prettyping -c 3 127.0.0.1 -------------------------------------------------------------------------------- /projects/git.tozt.net/rbw/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/doy/rbw/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: rbw 6 | 7 | versions: 8 | github: doy/rbw 9 | 10 | build: 11 | dependencies: 12 | rust-lang.org/cargo: '*' 13 | script: 14 | - cargo install --root={{ prefix}} --path=. 15 | 16 | provides: 17 | - bin/rbw 18 | 19 | test: test "$(rbw --version|cut -d' ' -f2)" = {{version}} 20 | -------------------------------------------------------------------------------- /projects/gnu.org/autoconf-archive/test.m4: -------------------------------------------------------------------------------- 1 | AC_INIT(myconfig, version-0.1) 2 | AC_MSG_NOTICE([Hello, world.]) 3 | 4 | m4_include([ax_have_select.m4]) 5 | 6 | # from https://www.gnu.org/software/autoconf-archive/ax_have_select.html 7 | AX_HAVE_SELECT( 8 | [AX_CONFIG_FEATURE_ENABLE(select)], 9 | [AX_CONFIG_FEATURE_DISABLE(select)]) 10 | AX_CONFIG_FEATURE( 11 | [select], [This platform supports select(7)], 12 | [HAVE_SELECT], [This platform supports select(7).]) -------------------------------------------------------------------------------- /projects/sqlfluff.com/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sqlfluff/sqlfluff/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: sqlfluff/sqlfluff 7 | 8 | dependencies: 9 | python.org: '>=3.7<3.12' 10 | 11 | build: 12 | script: | 13 | python-venv.sh {{prefix}}/bin/sqlfluff 14 | 15 | test: 16 | script: 17 | - test "$(sqlfluff version)" = "{{version}}" 18 | 19 | provides: 20 | - bin/sqlfluff 21 | -------------------------------------------------------------------------------- /projects/endoflife.date/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/hugovk/norwegianblue/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | versions: 5 | github: hugovk/norwegianblue 6 | dependencies: 7 | python.org: ^3.12 8 | build: 9 | dependencies: 10 | linux: 11 | llvm.org: '*' 12 | script: 13 | - python-venv.sh {{prefix}}/bin/eol 14 | provides: 15 | - bin/eol 16 | test: 17 | script: 18 | - eol -V | grep {{version}} 19 | -------------------------------------------------------------------------------- /projects/nixos.org/patchelf/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/NixOS/patchelf/releases/download/{{version}}/patchelf-{{version}}.tar.bz2 3 | strip-components: 1 4 | 5 | versions: 6 | github: NixOS/patchelf 7 | strip: /^PatchELF / 8 | 9 | build: 10 | script: | 11 | ./configure --prefix={{prefix}} 12 | make --jobs {{hw.concurrency}} install 13 | 14 | test: patchelf --version #FIXME better 15 | 16 | provides: 17 | - bin/patchelf 18 | -------------------------------------------------------------------------------- /projects/rubygems.org/gist/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/defunkt/gist/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/gist 7 | 8 | versions: 9 | github: defunkt/gist/tags 10 | strip: /v/ 11 | 12 | dependencies: 13 | ruby-lang.org: ^3 14 | 15 | build: 16 | dependencies: 17 | rubygems.org: '*' 18 | script: 19 | rake install prefix={{prefix}} 20 | 21 | test: 22 | gist --help 23 | -------------------------------------------------------------------------------- /projects/wkentaro.github.io/gdown/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/wkentaro/gdown 3 | ref: v{{ version }} 4 | 5 | versions: 6 | github: wkentaro/gdown 7 | strip: /v/ 8 | 9 | dependencies: 10 | python.org: ~3.11 11 | 12 | build: python-venv.sh {{prefix}}/bin/gdown 13 | provides: 14 | - bin/gdown 15 | # ^^ specify the binaries or pkgx shell integration won’t work 16 | 17 | test: 18 | script: 19 | test -n "$(gdown --version)" -------------------------------------------------------------------------------- /projects/crates.io/diskonaut/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/imsnif/diskonaut/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: imsnif/diskonaut 7 | 8 | build: 9 | dependencies: 10 | rust-lang.org: ^1.65 11 | rust-lang.org/cargo: '*' 12 | script: cargo install --path . --root {{prefix}} 13 | 14 | provides: 15 | - bin/diskonaut 16 | 17 | test: test "$(diskonaut --version)" = "diskonaut {{version}}" 18 | -------------------------------------------------------------------------------- /projects/github.com/jarun/nnn/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jarun/nnn/releases/download/{{version.tag}}/nnn-{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: jarun/nnn 7 | 8 | dependencies: 9 | invisible-island.net/ncurses: 6 10 | gnu.org/readline: 8 11 | 12 | build: make --jobs {{ hw.concurrency }} strip install PREFIX={{prefix}} 13 | 14 | provides: 15 | - bin/nnn 16 | 17 | test: test "$(nnn -V)" = {{version.raw}} 18 | -------------------------------------------------------------------------------- /projects/github.com/kylef/swiftenv/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kylef/swiftenv/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: kylef/swiftenv 7 | 8 | platforms: 9 | - darwin 10 | 11 | build: 12 | working-directory: ${{prefix}} 13 | script: cp -a "$SRCROOT"/* . 14 | 15 | provides: 16 | - bin/swiftenv 17 | 18 | runtime: 19 | env: 20 | SWIFTENV_ROOT: ${{prefix}} 21 | 22 | test: swiftenv init - 23 | -------------------------------------------------------------------------------- /projects/crates.io/ox/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/curlpipe/ox/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/ox 7 | 8 | versions: 9 | github: curlpipe/ox 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | - test "$(ox --version)" = "{{version}}" 19 | - ox --help 20 | -------------------------------------------------------------------------------- /projects/github.com/thinkst/zippy/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/thinkst/zippy/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: thinkst/zippy 7 | 8 | dependencies: 9 | python.org: ~3.10 10 | 11 | build: 12 | python-venv.sh {{prefix}}/bin/zippy 13 | 14 | provides: 15 | - bin/zippy 16 | 17 | test: 18 | script: test "[[ $(echo 'This is a human-written test string, trust me!' | zippy -s) =~ 'Human' ]]" 19 | -------------------------------------------------------------------------------- /projects/heasarc.gsfc.nasa.gov/cfitsio/testprog.tpt: -------------------------------------------------------------------------------- 1 | tmpcard1 1001 this is the 1st template card 2 | tmpcard2 ABCD this is the 2nd template card 3 | tmpcard3 1001.23 this is the 3rd template card 4 | tmpcard4 1001.45 this is the 4rd template card 5 | comment this is the 5th template card 6 | history this is the 6th template card 7 | tmpcard7 = / comment for null keyword 8 | -tmpcard1 tmpcarda change the name of tmpcard1 9 | -tmpcard4 10 | end 11 | 12 | junk will be ignored 13 | -------------------------------------------------------------------------------- /projects/kluctl.io/nginx.yml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment-{{ args.environment }} 5 | labels: 6 | app: nginx 7 | spec: 8 | replicas: 3 9 | selector: 10 | matchLabels: 11 | app: nginx 12 | template: 13 | metadata: 14 | labels: 15 | app: nginx 16 | spec: 17 | containers: 18 | - name: nginx 19 | image: nginx:1.14.2 20 | ports: 21 | - containerPort: 80 22 | -------------------------------------------------------------------------------- /projects/llm.datasette.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/simonw/llm/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: simonw/llm 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | 11 | build: 12 | # confuses pip :shrug: 13 | - rm -rf props 14 | - python-venv.sh {{prefix}}/bin/llm 15 | 16 | test: llm --version | grep {{version.marketing}} 17 | 18 | provides: 19 | - bin/llm 20 | 21 | display-name: llm 22 | -------------------------------------------------------------------------------- /projects/crates.io/eb/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/rye/eb/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/eb 7 | 8 | versions: 9 | github: rye/eb 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.65" 15 | rust-lang.org/cargo: "*" 16 | script: cargo install --locked --path . --root {{prefix}} 17 | 18 | test: 19 | script: 20 | - test "$(eb --version)" = "eb {{version}}" 21 | -------------------------------------------------------------------------------- /projects/crates.io/tokei/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/XAMPPRocky/tokei/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/tokei 7 | 8 | versions: 9 | github: XAMPPRocky/tokei 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - tokei 22 | -------------------------------------------------------------------------------- /projects/crystal-lang.org/shim: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cmd="$1" 4 | shift 5 | 6 | case "$cmd" in 7 | build) crystal.bin "$cmd" --link-flags "${CRYSTAL_LINK_FLAGS:-}" "$@";; 8 | eval) 9 | TEMP=$(mktemp) 10 | if test $# -gt 0; then 11 | echo "$@" > "$TEMP" 12 | else 13 | # stdin.... hm 14 | cat > "$TEMP" 15 | fi 16 | crystal.bin run --link-flags "${CRYSTAL_LINK_FLAGS:-}" "$TEMP" 17 | rm "$TEMP" 18 | ;; 19 | *) crystal.bin "$cmd" "$@";; 20 | esac 21 | -------------------------------------------------------------------------------- /projects/github.com/confluentinc/libserdes/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | int main() 7 | { 8 | char errstr[512]; 9 | serdes_conf_t *sconf = serdes_conf_new(NULL, 0, NULL); 10 | serdes_t *serdes = serdes_new(sconf, errstr, sizeof(errstr)); 11 | if (serdes == NULL) 12 | { 13 | errx(1, "constructing serdes: %s", errstr); 14 | } 15 | serdes_destroy(serdes); 16 | return 0; 17 | } -------------------------------------------------------------------------------- /projects/github.com/thkukuk/libnsl/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) { 6 | char *domain; 7 | switch (yp_get_default_domain(&domain)) { 8 | case YPERR_SUCCESS: 9 | printf("Domain: %s\n", domain); 10 | return 0; 11 | case YPERR_NODOM: 12 | printf("No domain\n"); 13 | return 0; 14 | default: 15 | return 1; 16 | } 17 | } -------------------------------------------------------------------------------- /projects/gnu.org/bison/test.y: -------------------------------------------------------------------------------- 1 | %{ #include 2 | using namespace std; 3 | extern void yyerror (char *s); 4 | extern int yylex (); 5 | %} 6 | %start prog 7 | %% 8 | prog: // empty 9 | | prog expr '\n' { cout << "pass"; exit(0); } 10 | ; 11 | expr: '(' ')' 12 | | '(' expr ')' 13 | | expr expr 14 | ; 15 | %% 16 | char c; 17 | void yyerror (char *s) { cout << "fail"; exit(0); } 18 | int yylex () { cin.get(c); return c; } 19 | int main() { yyparse(); } 20 | -------------------------------------------------------------------------------- /projects/crates.io/ducker/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/robertpsoane/ducker/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/ducker 7 | 8 | versions: 9 | github: robertpsoane/ducker 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: test "$(ducker --version)" = "ducker {{version}}" 18 | -------------------------------------------------------------------------------- /projects/github.com/mac-cain13/R.swift/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/mac-cain13/R.swift/releases/download/{{version}}/rswift-{{version}}.zip 3 | 4 | versions: 5 | github: mac-cain13/R.swift 6 | 7 | platforms: 8 | - darwin 9 | 10 | provides: 11 | - bin/rswift 12 | 13 | warnings: 14 | - vendored 15 | 16 | build: 17 | working-directory: ${{prefix}}/bin 18 | script: mv "$SRCROOT"/rswift . 19 | 20 | test: | 21 | [[ "$(rswift --version)" = "{{version}}" ]] 22 | -------------------------------------------------------------------------------- /projects/lz4.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/lz4/lz4/archive/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: lz4/lz4 7 | strip: /^LZ4 / 8 | 9 | provides: 10 | - bin/lz4 11 | 12 | build: 13 | script: make --jobs {{hw.concurrency}} install PREFIX="{{prefix}}" 14 | 15 | test: 16 | fixture: testing compression and decompression 17 | script: | 18 | cat $FIXTURE | lz4 | lz4 -d > out 19 | test "$(cat $FIXTURE)" = "$(cat out)" 20 | -------------------------------------------------------------------------------- /projects/crates.io/xh/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ducaale/xh/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/xh 7 | 8 | versions: 9 | github: ducaale/xh 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | - xh github.com -Fh | tee out.txt 19 | - grep 'HTTP/2.0 200 OK' out.txt 20 | -------------------------------------------------------------------------------- /projects/fftw.org/fftw.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* *argv) 3 | { 4 | fftw_complex *in, *out; 5 | fftw_plan p; 6 | long N = 1; 7 | in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N); 8 | out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N); 9 | p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE); 10 | fftw_execute(p); /* repeat as needed */ 11 | fftw_destroy_plan(p); 12 | fftw_free(in); fftw_free(out); 13 | return 0; 14 | } -------------------------------------------------------------------------------- /projects/github.com/nomic-ai/gpt4all/gpt4all: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | test -n "$VERBOSE" && set -x 5 | 6 | D="$(cd "$(dirname "$0")"/.. && pwd)" 7 | VERSION="$(basename "$D")" 8 | MODEL_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/models" 9 | 10 | export PATH="$D/tbin:$PATH" 11 | 12 | gpt4all-fetch-model "$MODEL_DIR" "$VERSION" 13 | 14 | if test "$1" != '--fetch'; then 15 | exec "$D"/tbin/gpt4all \ 16 | --color \ 17 | --model "$MODEL_DIR"/gpt4all-lora-quantized.bin \ 18 | "$@" 19 | fi 20 | -------------------------------------------------------------------------------- /projects/github.com/xiph/rav1e/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/xiph/rav1e/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: xiph/rav1e/releases 7 | 8 | dependencies: 9 | nasm.us: ^2.14.02 10 | 11 | provides: 12 | - bin/rav1e 13 | 14 | build: 15 | dependencies: 16 | rust-lang.org: ^1.70 17 | rust-lang.org/cargo: '*' 18 | script: cargo install --locked --path . --root {{prefix}} 19 | 20 | test: rav1e --version 21 | -------------------------------------------------------------------------------- /projects/attrs.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/python-attrs/attrs.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: python-attrs/attrs 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | 11 | runtime: 12 | env: 13 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 14 | 15 | build: python -m pip install --prefix={{prefix}} . 16 | test: python -c 'import attrs; print(attrs.__version__)' | grep {{version}} 17 | -------------------------------------------------------------------------------- /projects/crates.io/hyperfine/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sharkdp/hyperfine/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/hyperfine 7 | 8 | versions: 9 | github: sharkdp/hyperfine/tags 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.60' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: hyperfine --runs 5 'sleep 0.3' 20 | -------------------------------------------------------------------------------- /projects/crates.io/pik/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jacek-kurlit/pik/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pik 7 | 8 | versions: 9 | github: jacek-kurlit/pik 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | - test "$(pik --version)" = "pik {{version}}" 19 | - pik --help 20 | -------------------------------------------------------------------------------- /projects/crates.io/sd/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/chmln/sd/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/sd 7 | 8 | versions: 9 | github: chmln/sd 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(sd --version)" = "sd {{version}}" 22 | -------------------------------------------------------------------------------- /projects/github.com/jjjake/internetarchive/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jjjake/internetarchive/archive/v{{version}}.tar.gz 3 | strip-components: 1 4 | versions: 5 | github: jjjake/internetarchive 6 | dependencies: 7 | python.org: ~3.11 8 | gnu.org/which: ^2 # our stubs use which 9 | build: 10 | - python-venv.sh {{prefix}}/bin/ia 11 | provides: 12 | - bin/ia 13 | test: 14 | - ia metadata tigerbrew | grep 'mistydemeo@gmail.com' 15 | - ia --version | grep {{version}} 16 | -------------------------------------------------------------------------------- /projects/github.com/kkos/oniguruma/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kkos/oniguruma/releases/download/v{{version}}/onig-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: kkos/oniguruma 7 | strip: /[rR]elease / 8 | 9 | provides: 10 | - bin/onig-config 11 | 12 | build: 13 | script: | 14 | ./configure --disable-dependency-tracking --prefix={{prefix}} 15 | make install 16 | 17 | test: 18 | script: test "$(onig-config --version)" = "{{version}}" 19 | -------------------------------------------------------------------------------- /projects/github.com/siiptuo/pio/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/siiptuo/pio/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pio 7 | 8 | versions: 9 | github: siiptuo/pio 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.65' 14 | rust-lang.org/cargo: '*' 15 | script: 16 | cargo install --locked --path . --root {{prefix}} 17 | 18 | test: 19 | script: 20 | - test "$(pio --version)" = "pio {{version}}" 21 | -------------------------------------------------------------------------------- /projects/html-tidy.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/htacg/tidy-html5/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: htacg/tidy-html5 7 | 8 | build: 9 | dependencies: 10 | cmake.org: '*' 11 | working-directory: build/cmake 12 | script: | 13 | cmake --install-prefix={{prefix}} ../.. 14 | make --jobs {{ hw.concurrency }} install 15 | 16 | provides: 17 | - bin/tidy 18 | 19 | test: tidy --version | grep {{version}} 20 | -------------------------------------------------------------------------------- /projects/riverbankcomputing.com/sip/fib.sip: -------------------------------------------------------------------------------- 1 | // Define the SIP wrapper to the (theoretical) fib library. 2 | 3 | %Module(name=fib, language="C") 4 | 5 | int fib_n(int n); 6 | %MethodCode 7 | if (a0 <= 0) 8 | { 9 | sipRes = 0; 10 | } 11 | else 12 | { 13 | int a = 0, b = 1, c, i; 14 | 15 | for (i = 2; i <= a0; i++) 16 | { 17 | c = a + b; 18 | a = b; 19 | b = c; 20 | } 21 | 22 | sipRes = b; 23 | } 24 | %End -------------------------------------------------------------------------------- /projects/getsynth.com/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/shuttle-hq/synth/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/synth 7 | 8 | versions: 9 | github: shuttle-hq/synth 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ^1.65 15 | rust-lang.org/cargo: '*' 16 | script: cargo install --path synth --root {{prefix}} 17 | 18 | test: 19 | script: 20 | - test "$(synth version)" = "synth {{version}}" 21 | -------------------------------------------------------------------------------- /projects/getzola.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/getzola/zola/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/zola 7 | 8 | versions: 9 | github: getzola/zola 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(zola --version)" = "zola {{version}}" 22 | -------------------------------------------------------------------------------- /projects/restic.net/restic/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/restic/restic/releases/download/v{{ version }}/restic-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: restic 6 | 7 | versions: 8 | github: restic/restic 9 | 10 | provides: 11 | - bin/restic 12 | 13 | build: 14 | script: | 15 | go run build.go 16 | mkdir -p "{{ prefix }}"/bin 17 | mv restic "{{ prefix }}"/bin 18 | dependencies: 19 | go.dev: ^1.20 20 | 21 | test: 22 | restic version 23 | -------------------------------------------------------------------------------- /projects/cilium.io/hubble/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/cilium/hubble/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: hubble 6 | 7 | versions: 8 | github: cilium/hubble/releases/tags 9 | 10 | build: 11 | dependencies: 12 | go.dev: ^1.22 13 | script: | 14 | make install BINDIR={{ prefix }}/bin VERSION={{ version }} GIT_BRANCH= GIT_HASH= 15 | 16 | provides: 17 | - bin/hubble 18 | 19 | test: 20 | - hubble version | grep {{ version }} 21 | -------------------------------------------------------------------------------- /projects/crates.io/aichat/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sigoden/aichat/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/aichat 7 | 8 | versions: 9 | github: sigoden/aichat 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | - test "$(aichat --version)" = "aichat {{version}}" 19 | - aichat --help 20 | -------------------------------------------------------------------------------- /projects/crates.io/fsrx/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jrnxf/fsrx/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/fsrx 7 | 8 | versions: 9 | github: jrnxf/fsrx 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(fsrx --version)" = "fsrx {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/pqrs/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/manojkarthick/pqrs/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pqrs 7 | 8 | versions: 9 | github: manojkarthick/pqrs 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.65" 15 | rust-lang.org/cargo: "*" 16 | script: cargo install --path . --root {{prefix}} 17 | 18 | test: 19 | script: 20 | - test "$(pqrs --version)" = "pqrs {{version}}" 21 | -------------------------------------------------------------------------------- /projects/crates.io/bottom/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ClementTsang/bottom/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/btm 7 | 8 | versions: 9 | github: ClementTsang/bottom 10 | strip: / Release/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ^1.82 # since 0.11.0 15 | rust-lang.org/cargo: '*' 16 | script: cargo install --locked --path . --root {{prefix}} 17 | 18 | test: test "$(btm --version)" = "bottom {{version}}" 19 | -------------------------------------------------------------------------------- /projects/crates.io/fblog/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/brocode/fblog/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/fblog 7 | 8 | versions: 9 | github: brocode/fblog 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(fblog --version)" = "fblog {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/tv-cli/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/uzimaru0000/tv/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/tv 7 | 8 | versions: 9 | github: uzimaru0000/tv 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(tv --version)" = "tv {{version}}" 22 | -------------------------------------------------------------------------------- /projects/github.com/hykilpikonna/hyfetch/neowofetch/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/hykilpikonna/hyfetch/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: hykilpikonna/hyfetch 7 | 8 | dependencies: 9 | pkgx.sh: ^1 10 | 11 | build: 12 | - mkdir -p '{{prefix}}/bin' 13 | - install neofetch '{{prefix}}/bin/neowofetch' 14 | 15 | provides: 16 | - bin/neowofetch 17 | 18 | test: neowofetch --config none --color-blocks off --disable wm de term gpu 19 | -------------------------------------------------------------------------------- /projects/github.com/postmodern/ruby-install/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/postmodern/ruby-install/releases/download/v{{version}}/ruby-install-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: postmodern/ruby-install 7 | 8 | dependencies: 9 | tukaani.org/xz: '*' 10 | 11 | build: 12 | script: make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}" 13 | 14 | provides: 15 | - bin/ruby-install 16 | 17 | test: ruby-install --version | grep {{version.marketing}} 18 | -------------------------------------------------------------------------------- /projects/github.com/urllib3/urllib3/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/urllib3/urllib3.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: urllib3/urllib3 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | 11 | runtime: 12 | env: 13 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 14 | 15 | build: python -m pip install --prefix={{prefix}} . 16 | test: python -c 'import urllib3; print(urllib3.__version__)' | grep {{version}} 17 | -------------------------------------------------------------------------------- /projects/printfn.github.io/fend/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/printfn/fend/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: printfn/fend 7 | strip: /^v/ 8 | 9 | dependencies: 10 | openssl.org: ^1.1 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ^1.65 15 | rust-lang.org/cargo: '*' 16 | script: cargo install --path cli --root {{prefix}} --locked 17 | 18 | provides: 19 | - bin/fend 20 | 21 | test: echo 'roll 1d20+8' | fend 22 | -------------------------------------------------------------------------------- /projects/pypa.io/setuptools/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pypa/setuptools/archive/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pypa/setuptools 7 | 8 | dependencies: 9 | python.org: ~3.12 10 | 11 | runtime: 12 | env: 13 | PYTHONPATH: ${{prefix}}/lib/python3.12/site-packages:$PYTHONPATH 14 | 15 | build: 16 | python -m pip install --prefix={{prefix}} . 17 | 18 | test: 19 | python -c 'import setuptools; print(setuptools.__version__)' | grep {{version}} 20 | -------------------------------------------------------------------------------- /projects/saerasoft.com/caesium/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Lymphatus/caesium-clt/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/caesiumclt 7 | 8 | versions: 9 | github: Lymphatus/caesium-clt/tags 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: cargo install --locked --path . --root {{prefix}} 17 | 18 | test: caesiumclt --version | grep {{version}} 19 | -------------------------------------------------------------------------------- /projects/crates.io/pastel/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sharkdp/pastel/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pastel 7 | 8 | versions: 9 | github: sharkdp/pastel 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | script: | 17 | cargo install --locked --path . --root {{prefix}} 18 | test: 19 | script: 20 | - test "$(pastel --version)" = "pastel {{version}}" -------------------------------------------------------------------------------- /projects/crates.io/sleek/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/nrempel/sleek/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/sleek 7 | 8 | versions: 9 | github: nrempel/sleek 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(sleek --version)" = "sleek {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/vivid/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sharkdp/vivid/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/vivid 7 | 8 | versions: 9 | github: sharkdp/vivid/tags 10 | strip: /v/ 11 | 12 | dependencies: 13 | zlib.net: ^1 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.60' 18 | rust-lang.org/cargo: '*' 19 | script: 20 | cargo install --locked --path . --root {{prefix}} 21 | 22 | test: 23 | vivid --version 24 | -------------------------------------------------------------------------------- /projects/github.com/antimatter15/alpaca.cpp/alpaca.cpp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | test -n "$VERBOSE" && set -x 5 | 6 | D="$(cd "$(dirname "$0")"/.. && pwd)" 7 | VERSION="$(basename "$D")" 8 | MODEL_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/models/alpaca-LoRA" 9 | 10 | export PATH="$D/tbin:$PATH" 11 | 12 | alpaca.cpp-fetch-model "$MODEL_DIR" "$VERSION" 13 | 14 | if test "$1" != '--fetch'; then 15 | exec "$D"/tbin/alpaca.cpp \ 16 | --color \ 17 | --model "$MODEL_DIR"/ggml-alpaca-7b-q4.bin \ 18 | "$@" 19 | fi 20 | -------------------------------------------------------------------------------- /projects/github.com/dylanaraps/neofetch/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/dylanaraps/neofetch/archive/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: dylanaraps/neofetch 7 | 8 | dependencies: 9 | darwin: 10 | github.com/jhford/screenresolution: '*' 11 | 12 | build: 13 | script: make --jobs {{ hw.concurrency }} install 14 | env: 15 | ARGS: 16 | - PREFIX="{{prefix}}" 17 | 18 | provides: 19 | - bin/neofetch 20 | 21 | test: neofetch | grep $(uname -m) 22 | -------------------------------------------------------------------------------- /projects/github.com/npryce/adr-tools/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/npryce/adr-tools/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: npryce/adr-tools 7 | 8 | provides: 9 | - bin/adr 10 | 11 | dependencies: 12 | gnu.org/bash: "*" 13 | 14 | build: 15 | script: 16 | - mkdir -p "{{ prefix }}"/bin 17 | - cp src/* {{prefix}}/bin 18 | 19 | test: 20 | script: 21 | - adr help init | cat 22 | # - test "$(adr --version)" = "{{version}}" 23 | -------------------------------------------------------------------------------- /projects/hadrons.org/libmd/patch-symbol-alias.diff: -------------------------------------------------------------------------------- 1 | --- a/src/local-link.h 2021-01-02 16:26:30.000000000 +0100 2 | +++ b/src/local-link.h 2021-04-10 22:30:38.000000000 +0200 3 | @@ -39,9 +39,9 @@ 4 | * Instead we use normal function wrapper in those cases, which are way more 5 | * maintainable. 6 | */ 7 | -#ifndef _MSC_VER 8 | +#if !defined(_MSC_VER) && !defined(__APPLE__) 9 | #define libmd_alias(alias, symbol) \ 10 | extern __typeof(symbol) alias __attribute__((__alias__(#symbol))) 11 | #endif 12 | 13 | #ifdef __ELF__ -------------------------------------------------------------------------------- /projects/lcdf.org/gifsicle/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kohler/gifsicle/archive/refs/tags/v{{version.raw}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: kohler/gifsicle/tags 7 | strip: /^v/ 8 | 9 | provides: 10 | - bin/gifsicle 11 | 12 | build: 13 | dependencies: 14 | gnu.org/autoconf: ^2 15 | gnu.org/automake: ^1 16 | script: | 17 | autoreconf -i 18 | ./configure --prefix={{prefix}} 19 | make install 20 | 21 | test: 22 | script: gifsicle --help 23 | -------------------------------------------------------------------------------- /projects/postgresql.org/libpq/libpq.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | const char *conninfo; 8 | PGconn *conn; 9 | 10 | conninfo = "dbname = postgres"; 11 | 12 | conn = PQconnectdb(conninfo); 13 | 14 | if (PQstatus(conn) != CONNECTION_OK) // This should always fail 15 | { 16 | printf("Connection to database attempted and failed"); 17 | PQfinish(conn); 18 | exit(0); 19 | } 20 | 21 | return 0; 22 | } 23 | -------------------------------------------------------------------------------- /projects/sourceforge.net/xmlstar/test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/crates.io/fselect/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jhspetersson/fselect/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: jhspetersson/fselect 7 | 8 | dependencies: 9 | openssl.org: ^1.1 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: ^1.65 14 | rust-lang.org/cargo: '*' 15 | cmake.org: ^3 16 | script: cargo install --path . --root {{prefix}} 17 | 18 | provides: 19 | - bin/fselect 20 | 21 | test: fselect size, path from ~ 22 | -------------------------------------------------------------------------------- /projects/crates.io/ripgrep/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/BurntSushi/ripgrep/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/rg 7 | 8 | versions: 9 | github: BurntSushi/ripgrep/tags 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.34' 14 | rust-lang.org/cargo: '*' 15 | script: 16 | cargo install --locked --path . --root {{prefix}} 17 | 18 | test: 19 | script: | 20 | rg hello $FIXTURE 21 | fixture: | 22 | hello, world 23 | -------------------------------------------------------------------------------- /projects/github.com/ggerganov/whisper.cpp/illegal_instruction.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Makefile b/Makefile 2 | index c452b88..6bf34b3 100644 3 | --- a/Makefile 4 | +++ b/Makefile 5 | @@ -64,7 +64,6 @@ endif 6 | # feel free to update the Makefile for your architecture and send a pull request or issue 7 | ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686)) 8 | ifeq ($(UNAME_S),Darwin) 9 | - CFLAGS += -mf16c 10 | AVX1_M := $(shell sysctl machdep.cpu.features) 11 | ifneq (,$(findstring FMA,$(AVX1_M))) 12 | CFLAGS += -mfma 13 | -------------------------------------------------------------------------------- /projects/github.com/jaseg/lolcat/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jaseg/lolcat/archive/refs/tags/v{{version.raw}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: jaseg/lolcat/tags 7 | strip: /^v/ 8 | 9 | build: 10 | script: | 11 | make --jobs {{ hw.concurrency }} lolcat 12 | mkdir -p {{prefix}}/bin 13 | mv lolcat {{prefix}}/bin 14 | 15 | provides: 16 | - bin/lolcat 17 | 18 | test: 19 | script: | 20 | lolcat --version | grep "lolcat version {{version.marketing}}" 21 | -------------------------------------------------------------------------------- /projects/github.com/yonaskolb/XcodeGen/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/yonaskolb/XcodeGen/releases/download/{{version}}/xcodegen.zip 3 | 4 | versions: 5 | github: yonaskolb/XcodeGen 6 | 7 | platforms: 8 | - darwin 9 | 10 | provides: 11 | - bin/xcodegen 12 | 13 | warnings: 14 | - vendored 15 | 16 | build: 17 | working-directory: ${{prefix}}/bin 18 | script: cp "$SRCROOT"/xcodegen/bin/xcodegen . 19 | 20 | test: 21 | script: | 22 | [[ "$(xcodegen --version)" = "Version: {{version}}" ]] 23 | -------------------------------------------------------------------------------- /projects/pyyaml.org/libyaml/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/yaml/libyaml/releases/download/{{version}}/yaml-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: yaml/libyaml 7 | 8 | build: 9 | dependencies: 10 | gnu.org/libtool: '*' 11 | gnu.org/autoconf: '*' 12 | script: | 13 | ./configure $ARGS 14 | make --jobs {{ hw.concurrency }} install 15 | env: 16 | ARGS: 17 | - --prefix="{{prefix}}" 18 | 19 | test: 20 | script: cc fixture.c -lyaml -o test 21 | -------------------------------------------------------------------------------- /projects/starship.rs/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/starship/starship/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/starship 7 | 8 | versions: 9 | github: starship/starship/tags 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | cmake.org: ">=3.5" 15 | rust-lang.org: ">=1.60" 16 | rust-lang.org/cargo: "*" 17 | script: cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: | 21 | starship --version 22 | -------------------------------------------------------------------------------- /projects/crates.io/diskus/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sharkdp/diskus/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/diskus 7 | 8 | versions: 9 | github: sharkdp/diskus 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | - cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(diskus --version)" = "diskus {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/toast/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/stepchowfun/toast/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/toast 7 | 8 | versions: 9 | github: stepchowfun/toast 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(toast --version)" = "Toast {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/wordl/add-version.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/main.rs b/src/main.rs 2 | index f21aebd..f7f8410 100644 3 | --- a/src/main.rs 4 | +++ b/src/main.rs 5 | @@ -15,6 +15,10 @@ pub mod wordle; 6 | 7 | #[tokio::main] 8 | async fn main() -> color_eyre::Result<()> { 9 | + if std::env::args().any(|arg| arg == "--version" || arg == "-V") { 10 | + println!("wordl {}", env!("CARGO_PKG_VERSION")); 11 | + return Ok(()); 12 | + } 13 | color_eyre::install()?; 14 | let result = run().await; 15 | result?; 16 | -------------------------------------------------------------------------------- /projects/digip.org/jansson/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/akheron/jansson/releases/download/v{{ version.raw }}/jansson-{{ version.raw }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: akheron/jansson/tags 7 | strip: /^v/ 8 | 9 | build: 10 | dependencies: 11 | linux: 12 | gnu.org/gcc: '*' 13 | script: | 14 | ./configure --prefix="{{prefix}}" 15 | make --jobs {{ hw.concurrency }} install 16 | 17 | test: 18 | script: | 19 | cc fixture.c -ljansson 20 | ./a.out 21 | -------------------------------------------------------------------------------- /projects/doctave.com/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Doctave/doctave/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/doctave 7 | 8 | versions: 9 | github: Doctave/doctave 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | - cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(doctave --version)" = "Doctave {{version}}" 22 | -------------------------------------------------------------------------------- /projects/gnu.org/tar/iconv.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/Makefile.am b/src/Makefile.am 2 | index 36c9543..e2ec58d 100644 3 | --- a/src/Makefile.am 4 | +++ b/src/Makefile.am 5 | @@ -52,4 +52,5 @@ AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) 6 | tar_LDADD = $(LIBS) ../lib/libtar.a ../gnu/libgnu.a\ 7 | $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)\ 8 | $(LIB_GETRANDOM) $(LIB_HARD_LOCALE) $(FILE_HAS_ACL_LIB) $(LIB_MBRTOWC)\ 9 | - $(LIB_SELINUX) $(LIB_SETLOCALE_NULL) 10 | + $(LIB_SELINUX) $(LIB_SETLOCALE_NULL) \ 11 | + $(LIBINTL) $(LIBICONV) 12 | -------------------------------------------------------------------------------- /projects/libusb.info/compat/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(void) 5 | { 6 | struct usb_bus *busses; 7 | struct usb_bus *bus; 8 | 9 | usb_init(); 10 | usb_find_busses(); 11 | usb_find_devices(); 12 | 13 | busses = usb_get_busses(); 14 | for (bus = busses; bus; bus = bus->next) { 15 | struct usb_device *dev; 16 | for (dev = bus->devices; dev; dev = dev->next) { 17 | printf("%04x:%04x\n", 18 | dev->descriptor.idVendor, dev->descriptor.idProduct); 19 | } 20 | } 21 | 22 | return 0; 23 | } -------------------------------------------------------------------------------- /projects/clog-tool.github.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/clog-tool/clog-cli/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/clog 7 | 8 | versions: 9 | github: clog-tool/clog-cli 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.56" 15 | rust-lang.org/cargo: "*" 16 | script: 17 | - cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(clog --version)" = "clog {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/docuum/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/stepchowfun/docuum/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/docuum 7 | 8 | versions: 9 | github: stepchowfun/docuum 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(docuum --version)" = "Docuum {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/exa/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ogham/exa/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/exa 7 | 8 | versions: 9 | github: ogham/exa/tags 10 | strip: /^v/ 11 | 12 | dependencies: 13 | darwin: 14 | zlib.net: ^1 15 | 16 | build: 17 | dependencies: 18 | rust-lang.org: '>=1.60' 19 | rust-lang.org/cargo: '*' 20 | script: 21 | cargo install --locked --path . --root {{prefix}} 22 | 23 | test: 24 | script: | 25 | exa --version -------------------------------------------------------------------------------- /projects/crates.io/fd-find/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sharkdp/fd/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/fd 7 | 8 | versions: 9 | github: sharkdp/fd/tags 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.60' 14 | rust-lang.org/cargo: '*' 15 | script: 16 | cargo install --locked --path . --root {{prefix}} 17 | 18 | test: 19 | script: | 20 | mv $FIXTURE test.cpp 21 | fd -e cpp test 22 | fixture: | 23 | hello, world 24 | -------------------------------------------------------------------------------- /projects/crates.io/pgen/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ctsrc/Pgen/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pgen 7 | 8 | versions: 9 | github: ctsrc/Pgen/tags 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(pgen --version)" = "pgen {{version}}" 22 | - pgen -l -n 12 -e 23 | -------------------------------------------------------------------------------- /projects/github.com/alt-art/commit/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/alt-art/commit/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/commit 7 | 8 | versions: 9 | github: alt-art/commit 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(commit --version)" = "commit {{version}}" 22 | -------------------------------------------------------------------------------- /projects/github.com/samwho/spacer/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/samwho/spacer/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/spacer 7 | 8 | versions: 9 | github: samwho/spacer 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.56" 15 | rust-lang.org/cargo: "*" 16 | script: 17 | - cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(spacer --version)" = "spacer {{version}}" 22 | -------------------------------------------------------------------------------- /projects/gnu.org/m4/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://ftp.gnu.org/gnu/m4/m4-{{ version }}.tar.xz 3 | strip-components: 1 4 | 5 | versions: 6 | github: autotools-mirror/m4/tags 7 | ignore: [v1.9a, v1.5.89a] 8 | 9 | build: 10 | script: | 11 | ./configure --prefix="{{ prefix }}" 12 | make --jobs {{ hw.concurrency }} install 13 | 14 | test: 15 | script: | 16 | OUTPUT=$(cat $FIXTURE | m4) 17 | test $OUTPUT = tea.xyz 18 | fixture: | 19 | define(TEST, tea.xyz)TEST 20 | 21 | provides: 22 | - bin/m4 23 | -------------------------------------------------------------------------------- /projects/pdm.fming.dev/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pdm-project/pdm/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pdm-project/pdm/releases/tags 7 | strip: /^v/ 8 | 9 | dependencies: 10 | python.org: ~3.11 11 | 12 | build: python-venv.sh {{prefix}}/bin/pdm 13 | 14 | provides: 15 | - bin/pdm 16 | 17 | test: 18 | script: | 19 | pdm init -n 20 | pdm add requests 21 | pdm add boto3 22 | 23 | test -f pyproject.toml 24 | test -f pdm.lock 25 | -------------------------------------------------------------------------------- /projects/pypa.github.io/pipx/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pypa/pipx/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pypa/pipx 7 | 8 | dependencies: 9 | pkgx.sh: ^1 10 | 11 | build: 12 | dependencies: 13 | python.org: '>=3<3.12' 14 | script: 15 | - bkpyvenv stage '{{prefix}}' {{version}} 16 | - ${{prefix}}/venv/bin/pip install . 17 | - bkpyvenv seal '{{prefix}}' pipx 18 | 19 | test: pipx run pycowsay moooo! 20 | 21 | provides: 22 | - bin/pipx 23 | -------------------------------------------------------------------------------- /projects/svenstaro.github.io/genact/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/svenstaro/genact/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/genact 7 | 8 | versions: 9 | github: svenstaro/genact 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.56" 15 | rust-lang.org/cargo: "*" 16 | script: 17 | - cargo install --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(genact --version)" = "genact {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/fnm/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Schniz/fnm/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: Schniz/fnm 7 | 8 | dependencies: 9 | darwin: 10 | zlib.net: ^1 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.60" 15 | rust-lang.org/cargo: "*" 16 | script: | 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | provides: 20 | - bin/fnm 21 | 22 | test: 23 | script: test "$(fnm --version)" = "fnm {{version}}" 24 | -------------------------------------------------------------------------------- /projects/crates.io/killport/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jkfran/killport/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/killport 7 | 8 | versions: 9 | github: jkfran/killport 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(killport --version)" = "killport {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/portfolio_rs/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/MarkusZoppelt/portfolio_rs/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | ref: v{{version}}} 5 | 6 | versions: 7 | github: MarkusZoppelt/portfolio_rs 8 | 9 | provides: 10 | - bin/portfolio_rs 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.60' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: | 21 | portfolio_rs -h 22 | -------------------------------------------------------------------------------- /projects/crates.io/zoxide/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/zoxide 7 | 8 | versions: 9 | github: ajeetdsouza/zoxide 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org/cargo: '*' 15 | script: 16 | cargo install --locked --path . --root {{prefix}} 17 | 18 | test: | 19 | eval "$(zoxide init bash)" 20 | mkdir foo 21 | cd foo 22 | cd .. 23 | z foo 24 | pwd | grep -E '/foo$' -------------------------------------------------------------------------------- /projects/github.com/google/gops/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/google/gops/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: google/gops/tags 7 | 8 | dependencies: 9 | go.dev: '*' 10 | 11 | build: 12 | dependencies: 13 | go.dev: '*' 14 | script: | 15 | go build -ldflags="$LDFLAGS" 16 | mkdir -p "{{ prefix }}"/bin 17 | mv gops "{{ prefix }}"/bin 18 | env: 19 | LDFLAGS: 20 | - -s -w 21 | 22 | provides: 23 | - bin/gops 24 | 25 | test: gops 26 | -------------------------------------------------------------------------------- /projects/github.com/royreznik/rexi/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/royreznik/rexi/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: royreznik/rexi 7 | dependencies: 8 | pkgx.sh: ^1 9 | 10 | build: 11 | dependencies: 12 | python.org: '>=3.8' 13 | script: 14 | - bkpyvenv stage {{prefix}} {{version}} 15 | - ${{prefix}}/venv/bin/pip install . 16 | - bkpyvenv seal {{prefix}} rexi 17 | 18 | test: 19 | - rexi --help 20 | 21 | provides: 22 | - bin/rexi 23 | -------------------------------------------------------------------------------- /projects/k9scli.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/derailed/k9s/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: derailed/k9s 7 | 8 | provides: 9 | - bin/k9s 10 | 11 | build: 12 | dependencies: 13 | go.dev: ^1.18 14 | gnu.org/make: '*' 15 | git-scm.org: '*' # needed to show git commit hash in version 16 | 17 | script: | 18 | make build 19 | mkdir -p "{{ prefix }}"/bin 20 | mv ./execs/k9s "{{ prefix }}"/bin 21 | 22 | test: 23 | k9s version 24 | -------------------------------------------------------------------------------- /projects/aws.amazon.com/sam/template.yml: -------------------------------------------------------------------------------- 1 | AWSTemplateFormatVersion: '2010-09-09' 2 | Transform: AWS::Serverless-2016-10-31 3 | Description: A simple SAM template for a Lambda function triggered by API Gateway 4 | 5 | Resources: 6 | HelloWorldFunction: 7 | Type: AWS::Serverless::Function 8 | Properties: 9 | Handler: index.handler 10 | Runtime: nodejs14.x 11 | CodeUri: . 12 | Events: 13 | HelloWorldApi: 14 | Type: Api 15 | Properties: 16 | Path: /hello 17 | Method: get 18 | -------------------------------------------------------------------------------- /projects/crates.io/licensor/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/raftario/licensor/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/licensor 7 | 8 | versions: 9 | github: raftario/licensor/tags 10 | strip: /v/ 11 | 12 | dependencies: 13 | zlib.net: ^1 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.31' 18 | rust-lang.org/cargo: '*' 19 | script: 20 | cargo install --locked --path . --root {{prefix}} 21 | 22 | test: 23 | licensor MIT | grep 'AS IS' 24 | -------------------------------------------------------------------------------- /projects/crates.io/mdcat/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/swsnr/mdcat/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/mdcat 7 | 8 | dependencies: 9 | openssl.org: ^1.1 10 | curl.se: 8 # since 2.7.0 11 | 12 | versions: 13 | github: swsnr/mdcat/tags 14 | strip: /mdcat-/ 15 | 16 | build: 17 | dependencies: 18 | rust-lang.org: '>=1.56' 19 | rust-lang.org/cargo: '*' 20 | script: cargo install --locked --path . --root {{prefix}} 21 | 22 | test: mdcat --version 23 | -------------------------------------------------------------------------------- /projects/fabianlindfors.se/reshape/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/fabianlindfors/reshape/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/reshape 7 | 8 | versions: 9 | github: fabianlindfors/reshape 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.65" 15 | rust-lang.org/cargo: "*" 16 | script: cargo install --locked --path . --root {{prefix}} 17 | 18 | test: 19 | script: 20 | - test "$(reshape --version)" = "Reshape {{version}}" 21 | -------------------------------------------------------------------------------- /projects/github.com/giampaolo/psutil/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/giampaolo/psutil.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: giampaolo/psutil/tags 7 | strip: /^release-/ 8 | 9 | dependencies: 10 | python.org: ~3.11 11 | 12 | runtime: 13 | env: 14 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 15 | 16 | build: python -m pip install --prefix={{prefix}} . 17 | test: python -c 'import psutil; print(psutil.__version__)' | grep {{version}} 18 | -------------------------------------------------------------------------------- /projects/kubecm.cloud/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sunny0826/kubecm/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: kubecm 6 | 7 | versions: 8 | github: sunny0826/kubecm 9 | 10 | build: 11 | dependencies: 12 | go.dev: ^1.22 13 | script: make build BUILD_TARGET_PKG_DIR="{{ prefix }}/bin" TAG={{ version }} KUBECM_VERSION={{ version }} 14 | env: 15 | CGO_ENABLED: 0 16 | 17 | provides: 18 | - bin/kubecm 19 | 20 | test: 21 | - kubecm version | grep {{ version }} 22 | -------------------------------------------------------------------------------- /projects/openbao.org/openbao/README.md: -------------------------------------------------------------------------------- 1 | setup 2 | ===== 3 | 4 | ```bash 5 | # pkgx +openbao.org/openbao bao-setup 6 | Package directory /root/.pkgx/openbao.org/openbao/v2.0.1 7 | install: creating directory '/etc/openbao' 8 | '/root/.pkgx/openbao.org/openbao/v2.0.1/etc/openbao/openbao.env' -> '/etc/openbao/openbao.env' 9 | '/root/.pkgx/openbao.org/openbao/v2.0.1/etc/openbao/openbao.hcl' -> '/etc/openbao/openbao.hcl' 10 | '/root/.pkgx/openbao.org/openbao/v2.0.1/etc/systemd/system/openbao.service' -> '/etc/systemd/system/openbao.service' 11 | ``` 12 | 13 | -------------------------------------------------------------------------------- /projects/psycopg.org/psycopg2/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/psycopg/psycopg2.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: psycopg/psycopg2/tags 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | postgresql.org: '*' 11 | 12 | runtime: 13 | env: 14 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 15 | 16 | build: python -m pip install --prefix={{prefix}} . 17 | test: python -c 'import psycopg2; print(psycopg2.__version__)' | grep {{version}} 18 | -------------------------------------------------------------------------------- /projects/python.org/sitecustomize.py: -------------------------------------------------------------------------------- 1 | import site 2 | import sys 3 | 4 | # tea considers /usr/local the "global install" location 5 | # setting `sys.prefix` is kinda nuts but brew does the same 6 | # so we're assuming they vetted all options 7 | # sys.prefix = "/usr/local" 8 | # ^^ undid this because it broke `python -m venv` installing pip for some reason 9 | 10 | # enable automatic user installs if pip makes the decision 11 | # that this is good idea. eg. if /usr/local isn't writable 12 | # this is what it will do 13 | site.ENABLE_USER_SITE = True 14 | -------------------------------------------------------------------------------- /projects/rust-lang.github.io/mdBook/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/rust-lang/mdBook/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/mdbook 7 | 8 | versions: 9 | github: rust-lang/mdBook 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(mdbook --version)" = "mdbook v{{version}}" 22 | -------------------------------------------------------------------------------- /projects/thekelleys.org.uk/dnsmasq/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://thekelleys.org.uk/dnsmasq/dnsmasq-{{version.raw}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | url: https://thekelleys.org.uk/dnsmasq/ 7 | match: /dnsmasq-(\d+\.\d+(\.\d+)?)\.tar\.gz/ 8 | strip: 9 | - /dnsmasq-/ 10 | - /.tar.gz/ 11 | 12 | provides: 13 | - sbin/dnsmasq 14 | 15 | build: 16 | script: | 17 | make install PREFIX="{{ prefix }}" 18 | dependencies: 19 | freedesktop.org/pkg-config: '*' 20 | 21 | test: | 22 | dnsmasq --test 23 | -------------------------------------------------------------------------------- /projects/convco.github.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/convco/convco/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/convco 7 | 8 | versions: 9 | github: convco/convco 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | cmake.org: ^3 17 | script: | 18 | cargo install --locked --path . --root {{prefix}} 19 | 20 | test: 21 | script: 22 | - test "$(convco --version)" = "convco {{version}}" 23 | -------------------------------------------------------------------------------- /projects/crates.io/craftql/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/yamafaktory/craftql/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/craftql 7 | 8 | versions: 9 | github: yamafaktory/craftql/tags 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | script: | 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(craftql --version)" = "craftql {{version}}" 22 | -------------------------------------------------------------------------------- /projects/crates.io/ddh/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/darakian/ddh/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: darakian/ddh 7 | 8 | build: 9 | dependencies: 10 | rust-lang.org: ^1.65 11 | rust-lang.org/cargo: '*' 12 | script: cargo install --path . --root {{prefix}} 13 | 14 | provides: 15 | - bin/ddh 16 | 17 | test: 18 | - | 19 | for x in A B C D E; do 20 | echo $x >$x 21 | echo $x >${x}_2 22 | done 23 | - ddh -d . 24 | - cat Results.txt 25 | -------------------------------------------------------------------------------- /projects/crates.io/tiny/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/osa1/tiny/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: osa1/tiny 7 | strip: /^v/ 8 | 9 | dependencies: 10 | openssl.org: ^1.1 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ^1.65 15 | rust-lang.org/cargo: '*' 16 | script: cargo install --path crates/tiny --root {{prefix}} --locked 17 | 18 | provides: 19 | - bin/tiny 20 | 21 | test: 22 | - tiny --help 23 | - tiny --version | grep "{{version}}" 24 | -------------------------------------------------------------------------------- /projects/dystroy.org/bacon/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Canop/bacon/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/bacon 7 | 8 | versions: 9 | github: Canop/bacon 10 | 11 | dependencies: 12 | linux: 13 | alsa-project.org/alsa-lib: '*' 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.56' 18 | rust-lang.org/cargo: '*' 19 | script: cargo install --locked --path . --root {{prefix}} 20 | 21 | test: test "$(bacon --version)" = "bacon {{version}}" 22 | -------------------------------------------------------------------------------- /projects/github.com/oneapi-src/oneTBB/sum1-100.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | auto total = tbb::parallel_reduce( 8 | tbb::blocked_range(0, 100), 9 | 0.0, 10 | [&](tbb::blocked_range r, int running_total) 11 | { 12 | for (int i=r.begin(); i < r.end(); ++i) { 13 | running_total += i + 1; 14 | } 15 | 16 | return running_total; 17 | }, std::plus() 18 | ); 19 | 20 | std::cout << total << std::endl; 21 | return 0; 22 | } -------------------------------------------------------------------------------- /projects/github.com/yonaskolb/Mint/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/yonaskolb/Mint.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: yonaskolb/Mint 7 | 8 | platforms: 9 | - darwin 10 | 11 | build: 12 | - swift build --disable-sandbox -c release 13 | - install -D .build/release/mint {{prefix}}/bin/mint 14 | 15 | provides: 16 | - bin/mint 17 | 18 | test: 19 | - mint version | grep {{version}} 20 | - mint help | grep 'Swift Package Manager' 21 | - mint install yonaskolb/mint 22 | - mint list | grep 'mint' -------------------------------------------------------------------------------- /projects/netpbm.sourceforge.net/test.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * favicon_xpm[] = { 3 | "16 16 4 1", 4 | " c white", 5 | ". c blue", 6 | "X c black", 7 | "o c red", 8 | " ", 9 | " ", 10 | " ", 11 | " ", 12 | " .... .... ", 13 | " . . . . ", 14 | ". .. .. .. .", 15 | " . . .. . . ", 16 | " . XXXXXX . ", 17 | " . XXXXXX . ", 18 | "oooooooooooooooo", 19 | "oooooooooooooooo", 20 | "oooooooooooooooo", 21 | "oooooooooooooooo", 22 | "XXXXXXXXXXXXXXXX", 23 | "XXXXXXXXXXXXXXXX"}; -------------------------------------------------------------------------------- /projects/ninja-build.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ninja-build/ninja/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/ninja 7 | 8 | versions: 9 | github: ninja-build/ninja 10 | 11 | build: 12 | dependencies: 13 | cmake.org: 3 14 | script: |- 15 | cmake .. 16 | make --jobs {{ hw.concurrency }} 17 | mkdir -p "{{ prefix }}/bin" 18 | mv ninja "{{ prefix }}/bin" 19 | working-directory: build-cmake 20 | 21 | test: 22 | script: 23 | ninja --version 24 | -------------------------------------------------------------------------------- /projects/crates.io/checkexec/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kurtbuilds/checkexec/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/checkexec 7 | 8 | versions: 9 | github: kurtbuilds/checkexec 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | script: | 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(checkexec --version)" = "checkexec {{version}}" 22 | -------------------------------------------------------------------------------- /projects/dprint.dev/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/dprint/dprint/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/dprint 7 | 8 | versions: 9 | github: dprint/dprint 10 | strip: /v/ 11 | 12 | build: 13 | working-directory: crates/dprint 14 | dependencies: 15 | rust-lang.org: ~1.84 16 | rust-lang.org/cargo: '<0.83' 17 | script: cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(dprint --version)" = "dprint {{version}}" 22 | -------------------------------------------------------------------------------- /projects/gnu.org/libiconv/test.cc: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | char src[] = "abcčde"; 8 | char dst[100]; 9 | size_t srclen = 6; 10 | size_t dstlen = 12; 11 | 12 | fprintf(stderr,"in: %s\n",src); 13 | 14 | char * pIn = src; 15 | char * pOut = ( char*)dst; 16 | 17 | iconv_t conv = iconv_open("UTF-8","CP1250"); 18 | iconv(conv, &pIn, &srclen, &pOut, &dstlen); 19 | iconv_close(conv); 20 | 21 | fprintf(stderr,"out: %s\n",dst); 22 | } -------------------------------------------------------------------------------- /projects/crates.io/huniq/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/koraa/huniq/archive/1d3c47eafb83147ea83594c64ba62b4fbbe3d617.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/huniq 7 | 8 | versions: 9 | - 2022.12.10 10 | # FIXME once there has been an official release 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(huniq --version)" = "huniq 2.7.0" 22 | -------------------------------------------------------------------------------- /projects/crates.io/jnv/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ynqa/jnv/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/jnv 7 | 8 | versions: 9 | github: ynqa/jnv 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | gnu.org/autoconf: 2 16 | gnu.org/automake: 1 17 | gnu.org/libtool: 2 18 | script: cargo install --path . --root {{prefix}} 19 | 20 | test: 21 | - jnv --help 22 | - test "$(jnv --version)" = "jnv {{version}}" 23 | -------------------------------------------------------------------------------- /projects/crates.io/stego/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ajmwagar/stego/archive/d9d5911f4d2d141fea74936f235a74bf03961c71.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/stego 7 | 8 | versions: 9 | - 2019.10.22 10 | # FIXME once there has been an official release 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.65' 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(stego --version)" = "stego 0.1.4" 22 | -------------------------------------------------------------------------------- /projects/direnv.net/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/direnv/direnv/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: direnv/direnv/releases/tags 7 | 8 | provides: 9 | - bin/direnv 10 | 11 | build: 12 | dependencies: 13 | go.dev: ^1.18 14 | script: 15 | - echo -n "{{version}}" >version.txt 16 | - make install PREFIX="{{ prefix }}" $EXTRA_ARGS 17 | env: 18 | linux: 19 | EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie 20 | 21 | test: test "$(direnv --version)" = "{{ version }}" 22 | -------------------------------------------------------------------------------- /projects/github.com/benjaminp/six/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/benjaminp/six/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | versions: 5 | github: benjaminp/six/tags 6 | dependencies: 7 | python.org: ~3.11 8 | runtime: 9 | env: 10 | PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages/six-{{version}}-py{{deps.python.org.version.marketing}}.egg:$PYTHONPATH" 11 | build: 12 | script: 13 | - python setup.py install --prefix={{prefix}} 14 | test: 15 | script: 16 | - python test.py 17 | -------------------------------------------------------------------------------- /projects/github.com/dateutil/dateutil/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/dateutil/dateutil.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: dateutil/dateutil 7 | 8 | dependencies: 9 | github.com/benjaminp/six: ^1.16 10 | python.org: ~3.11 11 | 12 | runtime: 13 | env: 14 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 15 | 16 | build: python -m pip install --prefix={{prefix}} . 17 | test: python -c 'import dateutil; print(dateutil.__version__)' | grep {{version}} 18 | -------------------------------------------------------------------------------- /projects/github.com/k0sproject/k0sctl/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/k0sproject/k0sctl/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: k0sproject/k0sctl 7 | 8 | build: 9 | dependencies: 10 | go.dev: ^1.21 11 | script: 12 | - make k0sctl TAG_NAME={{version.tag}} 13 | - install -D k0sctl {{prefix}}/bin/k0sctl 14 | 15 | provides: 16 | - bin/k0sctl 17 | 18 | test: 19 | - k0sctl version 2>&1 | grep {{version}} 20 | - k0sctl init root@10.0.0.1 2>&1 | grep 'k0s-cluster' 21 | -------------------------------------------------------------------------------- /projects/github.com/libass/libass/test.cpp: -------------------------------------------------------------------------------- 1 | #include "ass/ass.h" 2 | 3 | int main() { 4 | ASS_Library *library; 5 | ASS_Renderer *renderer; 6 | library = ass_library_init(); 7 | if (library) { 8 | renderer = ass_renderer_init(library); 9 | if (renderer) { 10 | ass_renderer_done(renderer); 11 | ass_library_done(library); 12 | return 0; 13 | } else { 14 | ass_library_done(library); 15 | return 1; 16 | } 17 | } else { 18 | return 1; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /projects/hugo.wang/cicada/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/mitnk/cicada/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: mitnk/cicada 7 | strip: /^v/ 8 | 9 | build: 10 | dependencies: 11 | rust-lang.org: ^1.65 12 | rust-lang.org/cargo: '*' 13 | script: cargo install --path . --root {{prefix}} 14 | 15 | provides: 16 | - bin/cicada 17 | 18 | test: 19 | dependencies: 20 | gnu.org/which: '*' 21 | script: test "$(cicada -c 'ls -l `which cicada`')" = "$(ls -l `which cicada`)" 22 | -------------------------------------------------------------------------------- /projects/re2c.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/skvadrik/re2c/releases/download/{{ version.raw }}/re2c-{{ version.raw }}.tar.xz 3 | strip-components: 1 4 | 5 | versions: 6 | github: skvadrik/re2c 7 | 8 | build: 9 | dependencies: 10 | python.org: ^3.10 11 | script: 12 | - ./configure $ARGS 13 | - make --jobs {{ hw.concurrency }} install 14 | env: 15 | ARGS: 16 | - --prefix="{{prefix}}" 17 | 18 | provides: 19 | - bin/re2c 20 | - man/man1/re2c.1 21 | 22 | test: re2c --version | grep {{version.marketing}} 23 | -------------------------------------------------------------------------------- /projects/crates.io/broot/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Canop/broot/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/broot 7 | 8 | versions: 9 | github: Canop/broot/tags 10 | strip: /v/ 11 | 12 | dependencies: 13 | zlib.net: ^1 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.56' 18 | rust-lang.org/cargo: '*' 19 | script: 20 | cargo install --locked --path . --root {{prefix}} 21 | 22 | test: 23 | #FIXME? how does one test a curses app well? 24 | broot --help 25 | -------------------------------------------------------------------------------- /projects/crates.io/cavif/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kornelski/cavif-rs/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/cavif 7 | 8 | versions: 9 | github: kornelski/cavif-rs 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: ">=1.65" 15 | rust-lang.org/cargo: "*" 16 | x86-64: 17 | nasm.us: '*' 18 | script: cargo install --locked --path . --root {{prefix}} 19 | 20 | test: 21 | script: 22 | - test "$(cavif --version)" = "cavif-rs {{version}}" 23 | -------------------------------------------------------------------------------- /projects/crates.io/kaspa-miner/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/elichai/kaspa-miner/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/kaspa-miner 7 | 8 | versions: 9 | github: elichai/kaspa-miner 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | protobuf.dev: 25 17 | script: 18 | cargo install --locked --path . --root {{prefix}} 19 | 20 | test: 21 | # FIXME: needs a server :/ 22 | kaspa-miner -V | grep {{version}} -------------------------------------------------------------------------------- /projects/github.com/ZZROTDesign/docker-clean/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ZZROTDesign/docker-clean/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: ZZROTDesign/docker-clean 7 | 8 | provides: 9 | - bin/docker-clean 10 | 11 | dependencies: 12 | gnu.org/bash: '*' 13 | docker.com/cli: "*" 14 | 15 | build: 16 | script: 17 | - mkdir -p "{{ prefix }}"/bin 18 | - cp docker-clean {{prefix}}/bin 19 | 20 | test: 21 | script: 22 | - test "$(docker-clean --version)" = "{{version}}" 23 | -------------------------------------------------------------------------------- /projects/k3d.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/k3d-io/k3d/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: k3d-io/k3d/releases/tags 7 | 8 | build: 9 | dependencies: 10 | go.dev: ^1.18 11 | script: | 12 | make build BINDIR={{ prefix }}/bin GIT_TAG_OVERRIDE={{ version }} 13 | 14 | provides: 15 | - bin/k3d 16 | 17 | test: | 18 | k3d --version | grep {{ version }} 19 | echo $(k3d cluster get 6d6de430dbd8080d690758a4b5d57c86 2>&1 || true) | grep "No nodes found for given cluster" 20 | -------------------------------------------------------------------------------- /projects/markupsafe.palletsprojects.com/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pallets/markupsafe/releases/download/{{version}}/MarkupSafe-{{version}}.tar.gz 3 | strip-components: 1 4 | versions: 5 | github: pallets/markupsafe 6 | dependencies: 7 | python.org: ~3.11 8 | runtime: 9 | env: 10 | PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH" 11 | build: 12 | script: 13 | - python -m pip install . --prefix="{{prefix}}" 14 | test: 15 | script: 16 | - python -c "from markupsafe import escape" -------------------------------------------------------------------------------- /projects/rockdaboot.github.io/libpsl/test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include 6 | 7 | int main(void) 8 | { 9 | const psl_ctx_t *psl = psl_builtin(); 10 | 11 | const char *domain = ".eu"; 12 | assert(psl_is_public_suffix(psl, domain)); 13 | 14 | const char *host = "www.example.com"; 15 | const char *expected_domain = "example.com"; 16 | const char *actual_domain = psl_registrable_domain(psl, host); 17 | assert(strcmp(actual_domain, expected_domain) == 0); 18 | 19 | return 0; 20 | } -------------------------------------------------------------------------------- /projects/crates.io/pushenv/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/JensGM/pushenv/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/pushenv 7 | 8 | versions: 9 | github: JensGM/pushenv 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: '>=1.56' 14 | rust-lang.org/cargo: '*' 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | - run: test "$(pushenv $FIXTURE -- sh -c 'echo $FOO')" = "bar" 19 | fixture: 20 | extname: .env 21 | content: FOO=bar 22 | -------------------------------------------------------------------------------- /projects/github.com/glauth/glauth/README.md: -------------------------------------------------------------------------------- 1 | setup 2 | ===== 3 | 4 | ```bash 5 | # pkgx +github.com/glauth/glauth glauth-setup 6 | Package directory /root/.pkgx/github.com/glauth/glauth/v2.4.0 7 | install: creating directory '/etc/glauth' 8 | '/root/.pkgx/github.com/glauth/glauth/v2.4.0/etc/glauth/glauth.env' -> '/etc/glauth/glauth.env' 9 | '/root/.pkgx/github.com/glauth/glauth/v2.4.0/etc/glauth/glauth.toml' -> '/etc/glauth/glauth.toml' 10 | '/root/.pkgx/github.com/glauth/glauth/v2.4.0/etc/systemd/system/glauth.service' -> '/etc/systemd/system/glauth.service' 11 | ``` 12 | 13 | -------------------------------------------------------------------------------- /projects/github.com/kjd/idna/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/kjd/idna.git 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: kjd/idna/tags 7 | 8 | dependencies: 9 | python.org: ~3.11 10 | 11 | runtime: 12 | env: 13 | PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH 14 | 15 | build: 16 | dependencies: 17 | flit.pypa.io: '*' 18 | script: python -m pip install --prefix={{prefix}} . 19 | 20 | test: python -c 'import idna; print(idna.__version__)' | grep {{version.marketing}} 21 | -------------------------------------------------------------------------------- /projects/github.com/tfutils/tfenv/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/tfutils/tfenv/archive/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: tfutils/tfenv 7 | 8 | dependencies: 9 | gnu.org/grep: '*' 10 | 11 | build: 12 | script: 13 | - mkdir -p {{ prefix }} 14 | - cp -R bin lib libexec share CHANGELOG.md "{{ prefix }}" 15 | 16 | provides: 17 | # - bin/terraform 18 | # ^^ while strictly true, saying we provide this is misleading 19 | - bin/tfenv 20 | 21 | test: 22 | tfenv --version | grep {{ version }} 23 | -------------------------------------------------------------------------------- /projects/github.com/thoughtbot/complexity/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/thoughtbot/complexity/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/complexity 7 | 8 | versions: 9 | github: thoughtbot/complexity 10 | strip: /v/ 11 | 12 | build: 13 | dependencies: 14 | rust-lang.org: '>=1.56' 15 | rust-lang.org/cargo: '*' 16 | script: | 17 | cargo install --locked --path . --root {{prefix}} 18 | 19 | test: 20 | script: 21 | - test "$(complexity --version)" = "complexity {{version}}" 22 | -------------------------------------------------------------------------------- /projects/sshx.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ekzhang/sshx/archive/0782485cce686c2656357957a9352c59624aaf6b.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/sshx 7 | 8 | versions: 9 | - 2023.11.14 10 | 11 | dependencies: 12 | protobuf.dev: "*" 13 | 14 | build: 15 | working-directory: crates/sshx 16 | dependencies: 17 | rust-lang.org: ">=1.65" 18 | rust-lang.org/cargo: "*" 19 | script: cargo install --locked --path . --root {{prefix}} 20 | 21 | test: 22 | script: 23 | - test "$(sshx --version)" = "sshx 0.2.0" 24 | -------------------------------------------------------------------------------- /projects/asciinema.org/agg/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/asciinema/agg/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: agg 6 | 7 | versions: 8 | github: asciinema/agg/tags # reads github tags from github 9 | 10 | dependencies: 11 | rust-lang.org: ^1.56 12 | 13 | build: 14 | dependencies: 15 | rust-lang.org/cargo: '*' 16 | script: 17 | cargo install --path . --root {{prefix}} 18 | 19 | provides: 20 | - bin/agg 21 | 22 | test: 23 | script: 24 | test "$(agg --version)" = "agg {{version}}" 25 | -------------------------------------------------------------------------------- /projects/brxken128.github.io/dexios/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/brxken128/dexios/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/dexios 7 | 8 | versions: 9 | github: brxken128/dexios 10 | strip: /v/ 11 | 12 | build: 13 | working-directory: dexios 14 | dependencies: 15 | rust-lang.org: '>=1.65' 16 | rust-lang.org/cargo: '*' 17 | script: 18 | cargo install --locked --path . --root {{prefix}} 19 | 20 | test: 21 | script: 22 | - test "$(dexios --version)" = "dexios {{version}}" 23 | -------------------------------------------------------------------------------- /projects/crates.io/rucola-notes/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Linus-Mussmaecher/rucola/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/rucola 7 | 8 | versions: 9 | github: Linus-Mussmaecher/rucola 10 | 11 | dependencies: 12 | openssl.org: ^1.1 # as of 0.6.0 13 | 14 | build: 15 | dependencies: 16 | rust-lang.org: '>=1.56' 17 | rust-lang.org/cargo: '*' 18 | script: cargo install --locked --path . --root {{prefix}} 19 | 20 | test: test "$(rucola --version)" = "rucola-notes {{version}}" 21 | -------------------------------------------------------------------------------- /projects/github.com/chainguard-dev/apko/package.yml: -------------------------------------------------------------------------------- 1 | display-name: apko 2 | 3 | distributable: 4 | url: git+https://github.com/chainguard-dev/apko 5 | ref: ${{ version.tag }} 6 | 7 | versions: 8 | github: chainguard-dev/apko 9 | 10 | build: 11 | dependencies: 12 | git-scm.org: '*' 13 | go.dev: ^1.21 14 | cmake.org: ^3 15 | env: 16 | DESTDIR: ${{ prefix }}/ 17 | BINDIR: bin 18 | script: 19 | - make apko 20 | - make install 21 | 22 | provides: 23 | - bin/apko 24 | 25 | test: 26 | - apko version 27 | - apko version | grep '{{version}}' 28 | -------------------------------------------------------------------------------- /projects/github.com/sivel/speedtest-cli/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sivel/speedtest-cli/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: sivel/speedtest-cli 7 | strip: /^v/ 8 | 9 | dependencies: 10 | python.org: '>=3.7<3.12' 11 | 12 | build: 13 | script: 14 | - python-venv.sh {{prefix}}/bin/speedtest-cli 15 | - run: ln -s speedtest-cli speedtest 16 | working-directory: ${{prefix}}/bin 17 | 18 | provides: 19 | - bin/speedtest-cli 20 | - bin/speedtest 21 | 22 | test: speedtest-cli 23 | -------------------------------------------------------------------------------- /projects/gnupg.org/npth/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://gnupg.org/ftp/gcrypt/npth/npth-{{version.raw}}.tar.bz2 3 | strip-components: 1 4 | 5 | versions: 6 | url: https://gnupg.org/ftp/gcrypt/npth/ 7 | match: /npth-(\d+\.\d+(\.\d+)?)\.tar\.bz2/ 8 | strip: 9 | - /npth-/ 10 | - /.tar.bz2/ 11 | 12 | build: 13 | script: 14 | - ./configure --prefix={{prefix}} 15 | - make 16 | - make check 17 | - make install 18 | 19 | #FIXME we test using our version, not theirs 20 | test: test "$(pkg-config --modversion npth)" = "{{version.marketing}}" 21 | -------------------------------------------------------------------------------- /projects/jless.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/PaulJuliusMartinez/jless/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/jless 7 | 8 | versions: 9 | github: PaulJuliusMartinez/jless 10 | 11 | dependencies: 12 | linux: 13 | x.org/xcb: 1 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.56' 18 | rust-lang.org/cargo: '*' 19 | python.org: 3 20 | script: cargo install --locked --path . --root {{prefix}} 21 | 22 | test: test "$(jless --version)" = "jless {{ version }}" 23 | -------------------------------------------------------------------------------- /projects/jonas.github.io/tig/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/jonas/tig/releases/download/{{version.tag}}/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: jonas/tig 7 | strip: /tig-/ 8 | 9 | provides: 10 | - bin/tig 11 | 12 | dependencies: 13 | gnu.org/libiconv: ^1 14 | invisible-island.net/ncurses: ^6 15 | 16 | build: 17 | script: 18 | - ./configure --prefix={{prefix}} 19 | - make prefix={{prefix}} 20 | - make prefix={{prefix}} install 21 | 22 | # FIXME: testing curses stuff 23 | test: tig --help 24 | -------------------------------------------------------------------------------- /projects/scryer.pl/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/mthom/scryer-prolog/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: Scryer Prolog 6 | 7 | versions: 8 | github: mthom/scryer-prolog 9 | 10 | dependencies: 11 | openssl.org: ^1.1 12 | 13 | build: 14 | dependencies: 15 | rust-lang.org: ^1.85 16 | rust-lang.org/cargo: "*" 17 | script: cargo install --path . --root '{{prefix}}' 18 | 19 | provides: 20 | - bin/scryer-prolog 21 | 22 | test: scryer-prolog --goal "test, halt" test.pl | grep "H,e,l,l,o" 23 | -------------------------------------------------------------------------------- /projects/crates.io/eza/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/eza-community/eza/archive/refs/tags/v{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/eza 7 | 8 | versions: 9 | github: eza-community/eza 10 | strip: /v/ 11 | 12 | dependencies: 13 | libgit2.org: ~1.7 # links to libgit2.so.1.7 14 | 15 | build: 16 | dependencies: 17 | rust-lang.org: '>=1.65' 18 | rust-lang.org/cargo: '*' 19 | script: cargo install --locked --path . --root {{prefix}} 20 | 21 | test: 22 | script: 23 | - eza --version | grep {{version}} 24 | -------------------------------------------------------------------------------- /projects/github.com/Limeth/ethaddrgen/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/Limeth/ethaddrgen/archive/refs/tags/{{ version.tag }}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/ethaddrgen 7 | 8 | versions: 9 | github: Limeth/ethaddrgen 10 | 11 | dependencies: 12 | openssl.org: ^1.1 13 | 14 | build: 15 | dependencies: 16 | rust-lang.org: '>=1.56' 17 | rust-lang.org/cargo: '*' 18 | script: cargo install --path . --root {{prefix}} 19 | 20 | test: 21 | - test "$(ethaddrgen --version)" = "ethaddrgen {{version}}" 22 | - ethaddrgen 7ea 23 | -------------------------------------------------------------------------------- /projects/github.com/burntsushi/xsv/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/BurntSushi/xsv/archive/refs/tags/{{ version }}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: BurntSushi/xsv/tags 7 | 8 | provides: 9 | - bin/xsv 10 | 11 | build: 12 | dependencies: 13 | rust-lang.org: ">=1.60" 14 | rust-lang.org/cargo: "*" 15 | script: cargo install --locked --path . --root {{prefix}} 16 | 17 | test: 18 | script: | 19 | out=$(xsv count $FIXTURE) 20 | test "$out" = "2" 21 | 22 | fixture: | 23 | foo,bar 24 | 1,2 25 | 3,42 26 | -------------------------------------------------------------------------------- /projects/github.com/caddy-dns/acmedns/package.yml: -------------------------------------------------------------------------------- 1 | display-name: caddy-acmedns 2 | 3 | versions: 4 | github: caddy-dns/acmedns/tags 5 | 6 | build: 7 | dependencies: 8 | github.com/caddyserver/xcaddy: '*' 9 | script: 10 | - xcaddy build 11 | --with github.com/lucaslorentz/caddy-docker-proxy/v2 12 | --with github.com/caddy-dns/acmedns@{{version.tag}} 13 | --output {{prefix}}/bin/caddy-acmedns 14 | provides: 15 | - bin/caddy-acmedns 16 | 17 | test: test "$(caddy-acmedns build-info|grep 'caddy-dns/acmedns'|cut -f3)" = {{version.tag}} 18 | -------------------------------------------------------------------------------- /projects/github.com/koekeishiya/skhd/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/koekeishiya/skhd/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: koekeishiya/skhd/tags 7 | 8 | platforms: 9 | - darwin 10 | 11 | build: 12 | # dependencies: 13 | # apple.com/xcode: >=11 14 | script: 15 | # make install builds a -O2, but doesn't install 16 | - make install 17 | - install -D bin/skhd {{prefix}}/bin/skhd 18 | 19 | provides: 20 | - bin/skhd 21 | 22 | test: test "$(skhd --version)" = "skhd-v{{version}}" 23 | -------------------------------------------------------------------------------- /projects/github.com/sekrit-twc/zimg/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/sekrit-twc/zimg/archive/release-{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: sekrit-twc/zimg 7 | strip: /^release-/ 8 | 9 | build: 10 | dependencies: 11 | gnu.org/autoconf: '*' 12 | gnu.org/automake: '*' 13 | gnu.org/libtool: '*' 14 | script: | 15 | ./autogen.sh 16 | ./configure $ARGS 17 | make --jobs {{ hw.concurrency }} install 18 | env: 19 | ARGS: 20 | - --prefix="{{prefix}}" 21 | 22 | test: cc test.c -lzimg -o test 23 | -------------------------------------------------------------------------------- /projects/github.com/toy/blueutil/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/toy/blueutil 3 | ref: v{{version}} 4 | strip-components: 1 5 | versions: 6 | github: toy/blueutil 7 | platforms: 8 | - darwin/aarch64 9 | # Set to build with SDK=macosx10.6 10 | # - darwin/x86-64 11 | build: 12 | script: 13 | - xcodebuild -arch $(uname -m) SDKROOT= SYMROOT=build 14 | - mkdir -p {{prefix}}/bin 15 | - install build/Release/blueutil {{prefix}}/bin/ 16 | provides: 17 | - bin/blueutil 18 | test: 19 | script: 20 | - blueutil --version | grep {{version}} -------------------------------------------------------------------------------- /projects/ktlint.github.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pinterest/ktlint/releases/download/{{version}}/ktlint-{{version}}.zip 3 | 4 | versions: 5 | github: pinterest/ktlint 6 | 7 | warnings: 8 | - vendored 9 | 10 | dependencies: 11 | openjdk.org: '*' 12 | 13 | build: 14 | - install -D ktlint-{{version}}/bin/ktlint {{prefix}}/bin/ktlint 15 | 16 | provides: 17 | - bin/ktlint 18 | 19 | test: 20 | - ktlint --version | grep {{version}} 21 | - echo 'fun main( ) {}' > Main.kt 22 | - ktlint -F Main.kt 23 | - cat Main.kt | grep 'fun main() {}' 24 | -------------------------------------------------------------------------------- /projects/pkgx.sh/mash/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pkgxdev/mash/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | display-name: mash 6 | 7 | versions: 8 | github: pkgxdev/mash 9 | 10 | dependencies: 11 | pkgx.sh: ^1.1,^2 12 | gnu.org/bash: '*' 13 | curl.se: '*' 14 | 15 | build: | 16 | sed -i "s/mash 0.0.0-dev/mash {{ version }}/g" ./mash 17 | install -D mash {{prefix}}/bin/mash 18 | 19 | provides: 20 | - bin/mash 21 | 22 | test: | 23 | test "$(mash --version)" = "mash {{ version }}" 24 | mash pkgx/demo-test-pattern 25 | -------------------------------------------------------------------------------- /projects/pngquant.org/lib/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/ImageOptim/libimagequant/archive/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: ImageOptim/libimagequant/tags 7 | 8 | display-name: libimagequant 9 | 10 | build: 11 | dependencies: 12 | github.com/lu-zero/cargo-c: '*' 13 | rust-lang.org/cargo: '*' 14 | rust-lang.org: ^1.65 15 | 16 | working-directory: imagequant-sys 17 | script: cargo cinstall --prefix {{prefix}} 18 | 19 | test: 20 | script: 21 | - cc test.c -limagequant -o test 22 | - ./test 23 | -------------------------------------------------------------------------------- /projects/pnpm.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://registry.npmjs.org/pnpm/-/pnpm-{{version}}.tgz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pnpm/pnpm 7 | ignore: /-\d+$/ # ignore pre-releases 8 | 9 | provides: 10 | - bin/pnpm 11 | - bin/pnpx 12 | 13 | dependencies: 14 | nodejs.org: '*' 15 | 16 | build: 17 | script: | 18 | mkdir -p "{{prefix}}" 19 | mv bin/pnpm.cjs bin/pnpm 20 | mv bin/pnpx.cjs bin/pnpx 21 | cp props/pnpmrc dist 22 | cp -r bin dist package.json {{prefix}} 23 | 24 | test: 25 | script: | 26 | pnpm doctor 27 | -------------------------------------------------------------------------------- /projects/github.com/danfis/libccd/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/danfis/libccd/archive/v{{version.marketing}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: danfis/libccd/tags 7 | stripe: ^v 8 | 9 | build: 10 | dependencies: 11 | cmake.org: '*' 12 | script: | 13 | cmake . $ARGS 14 | make --jobs {{ hw.concurrency }} install 15 | 16 | env: 17 | ARGS: 18 | - -DCMAKE_INSTALL_PREFIX="{{prefix}}" 19 | - -DENABLE_DOUBLE_PRECISION=ON 20 | 21 | test: 22 | script: | 23 | cc -o test test.c -lccd 24 | ./test 25 | -------------------------------------------------------------------------------- /projects/harding.motd.ca/autossh/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: git+https://github.com/Autossh/autossh 3 | ref: ${{version.tag}} 4 | 5 | versions: 6 | github: Autossh/autossh/tags 7 | 8 | dependencies: 9 | openssh.com: '*' 10 | 11 | provides: 12 | - bin/autossh 13 | 14 | build: 15 | dependencies: 16 | gnu.org/make: '*' 17 | gnu.org/gcc: '*' 18 | script: 19 | - ./configure --prefix="{{prefix}}" 20 | - make -j {{hw.concurrency}} PREFIX="{{prefix}}" 21 | - make install PREFIX="{{prefix}}" 22 | 23 | test: test "$(autossh -V)" = "autossh {{version}}" 24 | -------------------------------------------------------------------------------- /projects/just.systems/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/casey/just/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: casey/just/tags 7 | strip: /v/ 8 | 9 | build: 10 | dependencies: 11 | rust-lang.org: ^1.47.0 12 | rust-lang.org/cargo: ^0.75 13 | script: cargo install --path=. --root={{prefix}} 14 | test: cargo test 15 | 16 | test: 17 | script: | 18 | cp $FIXTURE justfile 19 | just 20 | fixture: | 21 | # run just -l 22 | default: 23 | @just -l 24 | 25 | provides: 26 | - bin/just 27 | -------------------------------------------------------------------------------- /projects/kind.sigs.k8s.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/kubernetes-sigs/kind/archive/refs/tags/v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: kubernetes-sigs/kind 7 | 8 | build: 9 | script: 10 | - go mod download 11 | - go build $GOFLAGS -o {{prefix}}/bin/kind ./cmd/kind 12 | dependencies: 13 | go.dev: ^1.18 14 | env: 15 | linux: 16 | GOFLAGS: -buildmode=pie 17 | 18 | provides: 19 | - bin/kind 20 | 21 | test: 22 | - kind --help 23 | - kind version 24 | - kind version | grep "kind v{{version}}" 25 | -------------------------------------------------------------------------------- /projects/mitmproxy.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/mitmproxy/mitmproxy/archive/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: mitmproxy/mitmproxy 7 | 8 | dependencies: 9 | pkgx.sh: ^1 10 | 11 | build: 12 | dependencies: 13 | python.org: ~3.12 14 | script: 15 | - bkpyvenv stage {{prefix}} {{version}} 16 | - ${{prefix}}/venv/bin/pip install . 17 | - bkpyvenv seal {{prefix}} mitmproxy 18 | 19 | provides: 20 | - bin/mitmproxy 21 | 22 | test: 23 | script: 24 | - mitmproxy --version | grep {{version}} 25 | -------------------------------------------------------------------------------- /projects/rebar3.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/erlang/rebar3/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: erlang/rebar3 7 | 8 | dependencies: 9 | erlang.org: '*' 10 | 11 | build: 12 | - ./bootstrap 13 | - install -D rebar3 {{prefix}}/bin/rebar3 14 | - run: cp -a $SRCROOT/apps/rebar/priv/shell-completion . 15 | working-directory: ${{prefix}}/share 16 | 17 | provides: 18 | - bin/rebar3 19 | 20 | test: rebar3 --version | grep '^rebar {{version}} on Erlang/OTP {{deps.erlang.org.version.major}}' 21 | -------------------------------------------------------------------------------- /projects/yt-dlp.org/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/yt-dlp/yt-dlp/releases/download/{{version.raw}}/yt-dlp.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: yt-dlp/yt-dlp 7 | strip: /^yt-dlp / 8 | 9 | dependencies: 10 | python.org: '>=3<3.12' 11 | ffmpeg.org: '*' 12 | 13 | build: python-venv.sh {{prefix}}/bin/yt-dlp 14 | 15 | test: 16 | - ( yt-dlp --simulate https://youtu.be/pOtd1cbOP7k 2>&1 | tee out ) || true 17 | - "grep -E '(pOtd1cbOP7k: Downloading 1|Sign in to confirm you’re not a bot)' out" 18 | 19 | provides: 20 | - bin/yt-dlp 21 | -------------------------------------------------------------------------------- /projects/bcrypt.sourceforge.net/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://bcrypt.sourceforge.net/bcrypt-{{version.marketing}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | - 1.1.0 7 | 8 | dependencies: 9 | zlib.net: '*' 10 | 11 | build: make LDFLAGS=-lz PREFIX={{prefix}} install 12 | 13 | provides: 14 | - bin/bcrypt 15 | 16 | test: 17 | script: | 18 | echo "Hello World!" > test.txt 19 | printf '12345678\n12345678\n' | bcrypt -r test.txt 20 | mv test.txt.bfe test.out.txt.bfe 21 | printf '12345678\n' | bcrypt -r test.out.txt.bfe 22 | cat test.out.txt 23 | -------------------------------------------------------------------------------- /projects/crates.io/git-delta/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/dandavison/delta/archive/refs/tags/{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | provides: 6 | - bin/delta 7 | 8 | versions: 9 | github: dandavison/delta/tags 10 | 11 | dependencies: 12 | libgit2.org: ~1.7 # links to libgit2.so.1.7 13 | darwin: 14 | zlib.net: ^1 15 | 16 | build: 17 | dependencies: 18 | rust-lang.org: '>=1.60' 19 | rust-lang.org/cargo: '*' 20 | script: cargo install --locked --path . --root {{prefix}} 21 | 22 | test: 23 | script: | 24 | delta --version 25 | -------------------------------------------------------------------------------- /projects/getcomposer.org/package.yml: -------------------------------------------------------------------------------- 1 | versions: 2 | github: composer/composer 3 | 4 | dependencies: 5 | php.net: '*' 6 | 7 | build: 8 | dependencies: 9 | curl.se: '*' 10 | script: 11 | - curl -sSLO https://github.com/composer/composer/releases/download/{{version}}/composer.phar 12 | - install -D composer.phar {{prefix}}/bin/composer.phar 13 | - run: ln -sf composer.phar composer 14 | working-directory: ${{prefix}}/bin 15 | 16 | provides: 17 | - bin/composer 18 | - bin/composer.phar 19 | 20 | test: 21 | - composer -V 22 | - composer -V | grep {{version}} 23 | -------------------------------------------------------------------------------- /projects/github.com/mamba-org/micro/test.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # https://www.pugetsystems.com/labs/hpc/standalone-python-conda-envs-without-installing-conda-using-micromamba-2287/ 3 | 4 | """ 5 | Matrix multiplication of 2 n x n matrices 6 | """ 7 | 8 | import numpy as np 9 | import time 10 | 11 | n = 8000 12 | A = np.array(np.random.rand(n, n)) 13 | B = np.array(np.random.rand(n, n)) 14 | C = np.empty_like(A) 15 | 16 | start_time = time.time() 17 | C = np.matmul(A, B) 18 | run_time = time.time() - start_time 19 | 20 | print( f'{(2e-9 * (n ** 3 + n ** 2)) / run_time :.2f} GFLOPS' ) 21 | -------------------------------------------------------------------------------- /projects/github.com/pypa/build/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pypa/build/archive/refs/tags/{{version.tag}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pypa/build/tags 7 | 8 | dependencies: 9 | pkgx.sh: ^1 10 | 11 | build: 12 | dependencies: 13 | python.org: '>=3<3.12' 14 | script: 15 | - bkpyvenv stage {{prefix}} {{version}} 16 | - ${{prefix}}/venv/bin/pip install . 17 | - bkpyvenv seal {{prefix}} pyproject-build 18 | 19 | provides: 20 | - bin/pyproject-build 21 | 22 | test: pyproject-build --version | grep {{version}} 23 | -------------------------------------------------------------------------------- /projects/hatch.pypa.io/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/pypa/hatch/archive/refs/tags/hatch-v{{version}}.tar.gz 3 | strip-components: 1 4 | 5 | versions: 6 | github: pypa/hatch/releases/tags 7 | strip: /^hatch-v/ 8 | ignore: /^hatchling-/ 9 | 10 | dependencies: 11 | python.org: '>=3<3.12' 12 | 13 | build: python-venv.sh {{prefix}}/bin/hatch 14 | 15 | provides: 16 | - bin/hatch 17 | 18 | test: | 19 | hatch new tea 20 | cd tea 21 | hatch config set dirs.env.virtual .venv 22 | hatch env create 23 | 24 | test -f pyproject.toml 25 | test -d .venv 26 | -------------------------------------------------------------------------------- /projects/htop.dev/package.yml: -------------------------------------------------------------------------------- 1 | distributable: 2 | url: https://github.com/htop-dev/htop/releases/download/{{version}}/htop-{{version}}.tar.xz 3 | strip-components: 1 4 | 5 | versions: 6 | github: htop-dev/htop/tags 7 | 8 | dependencies: 9 | invisible-island.net/ncurses: 6 10 | 11 | build: 12 | dependencies: 13 | gnu.org/autoconf: '*' 14 | gnu.org/automake: '*' 15 | script: | 16 | ./configure --prefix={{prefix}} 17 | make 18 | make install 19 | test: 20 | make test 21 | 22 | 23 | test: 24 | script: | 25 | htop -h 26 | 27 | provides: 28 | - bin/htop 29 | --------------------------------------------------------------------------------