Github messages for voidlinux
 help / color / mirror / Atom feed
From: Goorzhel <Goorzhel@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] salt: upgrade to 3001.1; convert depends to py3
Date: Sun, 09 Aug 2020 04:26:29 +0200	[thread overview]
Message-ID: <20200809022629.Ts2m9aBIbLYh24PSZjMJWh6QrW_eQFKuoitE8NstRLo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24136@inbox.vuxu.org>

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

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

https://github.com/Goorzhel/void-packages salt
https://github.com/void-linux/void-packages/pull/24136

salt: upgrade to 3001.1; convert depends to py3
@Vaelatern 

With saltstack/salt#55310 wrapped up, I figured I'd take a stab at updating our `salt` package. This _should_ also obsolete saltstack/salt#56551.

```
[ag@server~]# salt-master -V
Salt Version:
           Salt: 3001.1

Dependency Versions:
           cffi: 1.14.0
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: 4.2.0
          gitdb: Not Installed
      gitpython: Not Installed
         Jinja2: 2.10.1
        libgit2: Not Installed
       M2Crypto: 0.35.2
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 1.0.0
   mysql-python: Not Installed
      pycparser: 2.19
       pycrypto: Not Installed
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 3.8.4 (default, Jul 17 2020, 11:12:18)
   python-gnupg: Not Installed
         PyYAML: 5.3
          PyZMQ: 19.0.2
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.5.3
            ZMQ: 4.3.2

System Versions:
           dist: void rolling void
         locale: utf-8
        machine: x86_64
        release: 5.7.10_1
         system: Linux
        version: void rolling void
```

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

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

From f711bfdc5ad63f7f5d0f7cf98d52fc1d1629e38f Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Fri, 7 Aug 2020 21:34:54 -0700
Subject: [PATCH 1/2] salt: upgrade to 3001.1; convert depends to py3

---
 srcpkgs/salt/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/salt/template b/srcpkgs/salt/template
index fc8052a8dd2..82af58efa1f 100644
--- a/srcpkgs/salt/template
+++ b/srcpkgs/salt/template
@@ -1,21 +1,20 @@
 # Template file for 'salt'
 pkgname=salt
-version=3000.2
+version=3001.1
 revision=1
 archs=noarch
-build_style=python2-module
-pycompile_module="salt"
-hostmakedepends="python-devel python-setuptools"
-depends="python-yaml python-Jinja2 python-requests python-pyzmq
- python-M2Crypto python-tornado python-msgpack dmidecode pciutils
- python-psutil"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-yaml python3-Jinja2 python3-requests python3-pyzmq
+ python3-M2Crypto python3-tornado python3-msgpack dmidecode pciutils
+ python3-psutil python3-distro"
 short_desc="Remote execution system, and configuration manager"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://saltstack.org/"
 changelog="https://docs.saltstack.com/en/latest/topics/releases/${version}.html"
 distfiles="${PYPI_SITE}/s/salt/salt-${version}.tar.gz"
-checksum=0e33429d094a6109dfed955c4b1c638baee9641eca2f7609bbc4adad21c620d9
+checksum=e9ebb4d92fae8dabf21b8749dc126e4a4048bf8f613f5b1b851fe4b8226b5abc
 conf_files="
  /etc/salt/cloud.providers.d/digitalocean.conf
  /etc/salt/cloud.providers.d/vsphere.conf

From ac9a575b696d3bd561402a2bcd5c2635b21e5c9f Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Sat, 8 Aug 2020 18:44:33 -0700
Subject: [PATCH 2/2] pycryptodomex: new package, 3.9.8_1

---
 srcpkgs/python-pycryptodomex/template | 31 +++++++++++++++++++++++++++
 srcpkgs/python3-pycryptodomex         |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/python-pycryptodomex/template
 create mode 120000 srcpkgs/python3-pycryptodomex

diff --git a/srcpkgs/python-pycryptodomex/template b/srcpkgs/python-pycryptodomex/template
new file mode 100644
index 00000000000..1d4ea473a51
--- /dev/null
+++ b/srcpkgs/python-pycryptodomex/template
@@ -0,0 +1,31 @@
+# Template file for 'python-pycryptodomex'
+pkgname=python-pycryptodomex
+version=3.9.8
+revision=1
+wrksrc="pycryptodomex-${version}"
+build_style=python-module
+hostmakedepends="python-setuptools python3-setuptools"
+makedepends="python-devel python3-devel"
+short_desc="pycryptodome equivalent that installs to \`Cryptodome\` module"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="Public Domain, BSD-2-Clause"
+homepage="https://www.pycryptodome.org/"
+changelog="https://raw.githubusercontent.com/Legrandin/pycryptodome/master/Changelog.rst"
+distfiles="${PYPI_SITE}/p/pycryptodomex/pycryptodomex-${version}.tar.gz"
+checksum=48cc2cfc251f04a6142badeb666d1ff49ca6fdfc303fd72579f62b768aaa52b9
+
+do_check() {
+	python2 setup.py test
+	python3 setup.py test
+}
+
+post_install() {
+	vlicense LICENSE.rst
+}
+
+python3-pycryptodomex_package() {
+	pkg_install() {
+		vmove usr/lib/python3*
+		vlicense LICENSE.rst
+	}
+}
diff --git a/srcpkgs/python3-pycryptodomex b/srcpkgs/python3-pycryptodomex
new file mode 120000
index 00000000000..7671a57800e
--- /dev/null
+++ b/srcpkgs/python3-pycryptodomex
@@ -0,0 +1 @@
+python-pycryptodomex
\ No newline at end of file

  parent reply	other threads:[~2020-08-09  2:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-08  5:41 [PR PATCH] " Goorzhel
2020-08-08  5:49 ` Goorzhel
2020-08-08  5:49 ` Goorzhel
2020-08-08  5:49 ` [PR PATCH] [Updated] " Goorzhel
2020-08-08 18:57 ` Goorzhel
2020-08-09  1:08 ` fosslinux
2020-08-09  1:13 ` ericonr
2020-08-09  1:29 ` Goorzhel
2020-08-09  2:26 ` Goorzhel [this message]
2020-08-09  2:43 ` [PR PATCH] [Updated] salt: to 3001.1; python{,3}-pycryptodomex: new package Goorzhel
2020-08-09  2:53 ` Goorzhel
2020-08-09  3:08 ` [PR PATCH] [Updated] " Goorzhel
2020-08-09  4:49 ` fosslinux
2020-08-09  4:53 ` Goorzhel
2020-08-09  4:56 ` fosslinux
2020-08-09  5:06 ` Goorzhel
2020-08-09  5:06 ` [PR PATCH] [Updated] " Goorzhel
2020-08-09  5:13 ` ericonr
2020-08-09  5:17 ` [PR REVIEW] " fosslinux
2020-08-09  5:18 ` Goorzhel
2020-08-09  5:47 ` [PR PATCH] [Updated] " Goorzhel
2020-08-09  5:47 ` Goorzhel
2020-08-09 18:41 ` Goorzhel
2020-08-09 21:43 ` Vaelatern
2020-08-09 21:54 ` Vaelatern
2020-08-09 23:50 ` Goorzhel
2020-08-09 23:56 ` [PR PATCH] [Updated] " Goorzhel
2020-08-10  3:28 ` [PR PATCH] [Closed]: " Vaelatern
2020-08-10  3:29 ` Vaelatern
2020-08-10  3:29 ` Goorzhel

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=20200809022629.Ts2m9aBIbLYh24PSZjMJWh6QrW_eQFKuoitE8NstRLo@z \
    --to=goorzhel@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).