Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] new package: pypy3.7
Date: Wed, 27 Oct 2021 11:50:30 +0200	[thread overview]
Message-ID: <20211027095030.QFu45Ud35HPXixe60MHAuLkS9EbPWFsyCCL6fJUTRn8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33712@inbox.vuxu.org>

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

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

https://github.com/dkwo/void-packages pypy
https://github.com/void-linux/void-packages/pull/33712

new package: pypy3.7
I've tested it a bit on `x86_64`.
It is mostly taken from #8861, let me know if there's still interest to merge it in Void.

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

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

From 4b7249f0a5866de83091af1222be89e173c893e6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 15 Oct 2021 14:28:20 +0200
Subject: [PATCH] new package: pypy3.7

---
 srcpkgs/pypy3.7/template | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/pypy3.7/template

diff --git a/srcpkgs/pypy3.7/template b/srcpkgs/pypy3.7/template
new file mode 100644
index 000000000000..712f8a748b05
--- /dev/null
+++ b/srcpkgs/pypy3.7/template
@@ -0,0 +1,36 @@
+# Template file for 'pypy3.7'
+pkgname=pypy3.7
+version=7.3.5
+revision=1
+wrksrc="${pkgname}-v${version}-src"
+hostmakedepends="tar perl pkg-config python python-cffi"
+makedepends="bzip2-devel gdbm-devel libffi-devel liblzma-devel
+ openssl-devel ncurses-devel sqlite-devel tk-devel zlib-devel"
+short_desc="JIT-enabled implementation of Python 3.7 written in RPython"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="MIT"
+homepage="https://pypy.org"
+distfiles="https://downloads.python.org/pypy/${pkgname}-v${version}-src.tar.bz2"
+checksum=d920fe409a9ecad9d074aa8568ca5f3ed3581be66f66e5d8988b7ec66e6d99a2
+nocross="Tries to execute cross-compiled code"
+python_version=3
+
+do_build() {
+	cd pypy/goal
+	python ../../rpython/bin/rpython -Ojit --cc=${CC} \
+		--make-jobs=$XBPS_MAKEJOBS targetpypystandalone.py
+	cd ../../lib_pypy
+	../pypy/goal/pypy3-c pypy_tools/build_cffi_imports.py
+}
+
+do_install() {
+	vdoc README.rst
+	vlicense LICENSE
+	vmkdir /usr/lib
+	vmkdir /usr/bin
+	# Upstream recommends installing under /opt and symlinking
+	python pypy/tool/release/package.py --archive-name=${pkgname} \
+		--targetdir=. --no-keep-debug
+	tar -xpf ${pkgname}.tar.bz2 -C ${PKGDESTDIR}/usr/lib
+	ln -s /usr/lib/${pkgname}/bin/pypy3 ${PKGDESTDIR}/usr/bin/${pkgname}
+}

  parent reply	other threads:[~2021-10-27  9:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 13:07 [PR PATCH] " dkwo
2021-10-23 13:19 ` [PR REVIEW] " Chocimier
2021-10-23 13:19 ` Chocimier
2021-10-23 15:27 ` dkwo
2021-10-23 16:34 ` [PR PATCH] [Updated] " dkwo
2021-10-26  9:03 ` dkwo
2021-10-26 18:41 ` Chocimier
2021-10-26 18:42 ` [PR REVIEW] " Chocimier
2021-10-26 18:42 ` Chocimier
2021-10-27  9:50 ` dkwo [this message]
2021-10-27  9:51 ` dkwo
2021-10-27 19:05 ` [PR PATCH] [Updated] " dkwo
2021-10-28 11:40 ` dkwo
2021-10-28 11:42 ` dkwo
2021-12-16  0:51 ` EliteTK
2021-12-16  1:01 ` ahesford
2021-12-16  2:32 ` EliteTK
2021-12-16  2:33 ` EliteTK
2021-12-16  3:06 ` ahesford
2021-12-16  9:04 ` dkwo
2022-01-02  8:34 ` dkwo
2022-01-02  8:34 ` [PR PATCH] [Closed]: " dkwo

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=20211027095030.QFu45Ud35HPXixe60MHAuLkS9EbPWFsyCCL6fJUTRn8@z \
    --to=dkwo@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).