Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: uv-0.1.21
Date: Sun, 17 Mar 2024 02:58:24 +0100	[thread overview]
Message-ID: <20240317015824.BAD1220268@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48763@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/uv
https://github.com/void-linux/void-packages/pull/48763

New package: uv-0.1.21
**TODO:** devendor some `-sys` crates? (noticed a few in the log, like libz, libssh2, libgit2)

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


A patch file from https://github.com/void-linux/void-packages/pull/48763.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/uv-48763.patch --]
[-- Type: text/x-diff, Size: 1595 bytes --]

From f8706e08381bfc0b6d281cb27009cd9016b72ea1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 16 Feb 2024 07:27:27 -0500
Subject: [PATCH] New package: uv-0.1.21

---
 srcpkgs/uv/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/uv/template

diff --git a/srcpkgs/uv/template b/srcpkgs/uv/template
new file mode 100644
index 00000000000000..0da1fea83e112c
--- /dev/null
+++ b/srcpkgs/uv/template
@@ -0,0 +1,31 @@
+# Template file for 'uv'
+pkgname=uv
+version=0.1.21
+revision=1
+build_style=python3-pep517
+build_helper="rust qemu"
+hostmakedepends="maturin cargo cmake pkg-config"
+makedepends="rust-std openssl-devel libgit2-devel libssh2-devel zlib-devel"
+short_desc="Extremely fast Python package installer and resolver"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="Apache-2.0, MIT"
+homepage="https://github.com/astral-sh/uv"
+changelog="https://github.com/astral-sh/uv/raw/main/CHANGELOG.md"
+distfiles="https://github.com/astral-sh/uv/releases/download/${version}/source.tar.gz"
+checksum=eae4d4641e57ef2eec75d9f76653b8a3a0dc0b91b3dcc8fbbb2ce4456a08fcfe
+# many tests require old python versions
+make_check=no
+
+post_patch() {
+	# Downgrade to use system libgit2 1.6
+	vsed -i 's/git2 =.*"0.18.1".*/git2 = "0.17.2"/' Cargo.toml
+	cargo update --package git2@0.18.2 --precise 0.17.2
+}
+
+post_install() {
+	vlicense LICENSE-MIT
+	for sh in bash fish zsh; do
+		vtargetrun "$DESTDIR"/usr/bin/uv --generate-shell-completion "$sh" > "uv.$sh"
+		vcompletion "uv.$sh" "$sh"
+	done
+}

  parent reply	other threads:[~2024-03-17  1:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 12:28 [PR PATCH] New package: uv-0.1.2 classabbyamp
2024-02-16 12:47 ` [PR PATCH] [Updated] " classabbyamp
2024-02-18  1:26 ` classabbyamp
2024-02-20 20:39 ` New package: uv-0.1.4 icp1994
2024-03-16 21:25 ` [PR PATCH] [Updated] " classabbyamp
2024-03-16 21:53 ` classabbyamp
2024-03-16 22:30 ` [PR PATCH] [Updated] New package: uv-0.1.21 classabbyamp
2024-03-17  1:58 ` classabbyamp [this message]
2024-03-17 17:23 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240317015824.BAD1220268@inbox.vuxu.org \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).