Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Profanity Python dependency version uplift
Date: Mon, 04 May 2020 15:29:02 +0200	[thread overview]
Message-ID: <20200504132902.U_4J689sppuQ2BrxbTVCW30M9PRWyifINQ9LmXR5J78@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21587@inbox.vuxu.org>

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/21587#issuecomment-623463277

Comment:
@ailiop-git, I'll push https://github.com/sgn/void-packages/commit/a2db04e5098f35e8e14f1b1e7ac1f2f695f766d7
if you don't have objection (please test, I haven't tested):
```diff
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd3..ec940d98d1 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,15 +1,17 @@
 # Template file for 'profanity'
 pkgname=profanity
 version=0.8.1
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
 $(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
-$(vopt_with xscreensaver) $(vopt_enable omemo) $(vopt_enable gtk icons) $(vopt_enable cplugins c-plugins)"
-hostmakedepends="pkg-config $(vopt_if python python-devel) $(vopt_if gtk gtk+-devel)"
+$(vopt_with xscreensaver) $(vopt_enable omemo) $(vopt_enable gtk icons)
+$(vopt_enable cplugins c-plugins) ac_cv_prog_PYTHON_CONFIG_EXISTS=yes
+PYTHON_VERSION=3"
+hostmakedepends="pkg-config $(vopt_if python python3-devel) $(vopt_if gtk gtk+-devel)"
 makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel
  $(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
- $(vopt_if pgp gpgme-devel) $(vopt_if python python-devel) $(vopt_if gtk gtk+-devel)
+ $(vopt_if pgp gpgme-devel) $(vopt_if python python3-devel) $(vopt_if gtk gtk+-devel)
  $(vopt_if xscreensaver libXScrnSaver-devel) $(vopt_if omemo 'libsignal-protocol-c libgcrypt-devel')"
 checkdepends="cmocka-devel"
 short_desc="Console based XMPP client"
@@ -23,8 +25,8 @@ export LIBS="-lm"
 
 case "$XBPS_TARGET_MACHINE" in
 	arm*)
-		export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py2_inc}"
-		export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py2_ver}" ;;
+		export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
+		export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}" ;;
 esac
 
 # Package build options
```

  parent reply	other threads:[~2020-05-04 13:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 16:45 [ISSUE] " ErinVoid
2020-05-04 13:27 ` sgn
2020-05-04 13:29 ` sgn [this message]
2020-05-04 13:35 ` sgn
2020-05-04 13:54 ` ailiop-git
2020-05-04 17:23 ` ErinVoid
2020-05-04 17:44 ` ailiop-git
2020-05-04 23:07 ` sgn
2020-05-05  8:06 ` teldra
2020-05-05  8:33 ` ErinVoid
2020-05-05 16:39 ` [ISSUE] [CLOSED] " sgn

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=20200504132902.U_4J689sppuQ2BrxbTVCW30M9PRWyifINQ9LmXR5J78@z \
    --to=sgn@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).