From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] libtorrent-rasterbar: build with python3 bindings
Date: Sun, 30 Jun 2019 22:52:34 +0200 [thread overview]
Message-ID: <20190630205234.-BYQuDZPVa23lajY5tZ4L50tC23ag1vwpSt2B9D1fqo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12761@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages libtorrent-rasterbar-update
https://github.com/void-linux/void-packages/pull/12761
libtorrent-rasterbar: build with python3 bindings
libtorrent-rasterbar python bindings are only used for deluge. Deluge now supports python3 :)
Discussion in https://github.com/void-linux/void-packages/pull/12734 .
boost-python3-1.69 is a new dependency.
A patch file from https://github.com/void-linux/void-packages/pull/12761.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libtorrent-rasterbar-update-12761.patch --]
[-- Type: application/text/x-diff, Size: 2645 bytes --]
From 1bffd701d6a862382ccd3aca5cf584bfa5b2b75c Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sun, 30 Jun 2019 21:23:50 +0300
Subject: [PATCH] libtorrent-rasterbar: build with python3 bindings
---
...ar-python => libtorrent-rasterbar-python3} | 0
srcpkgs/libtorrent-rasterbar/template | 20 +++++++++----------
2 files changed, 10 insertions(+), 10 deletions(-)
rename srcpkgs/{libtorrent-rasterbar-python => libtorrent-rasterbar-python3} (100%)
diff --git a/srcpkgs/libtorrent-rasterbar-python b/srcpkgs/libtorrent-rasterbar-python3
similarity index 100%
rename from srcpkgs/libtorrent-rasterbar-python
rename to srcpkgs/libtorrent-rasterbar-python3
diff --git a/srcpkgs/libtorrent-rasterbar/template b/srcpkgs/libtorrent-rasterbar/template
index 34614ee2ba5..abff4fcec7a 100644
--- a/srcpkgs/libtorrent-rasterbar/template
+++ b/srcpkgs/libtorrent-rasterbar/template
@@ -1,11 +1,11 @@
# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=1.1.13
-revision=2
+revision=3
build_style=gnu-configure
-configure_args="--enable-examples --enable-python-binding --with-boost=${XBPS_CROSS_BASE}/usr"
-hostmakedepends="automake pkg-config intltool libtool python-devel"
-makedepends="libressl-devel boost-devel geoip-devel python-devel"
+configure_args="--enable-examples --enable-python-binding --with-boost=${XBPS_CROSS_BASE}/usr --with-boost-python=boost_python36"
+hostmakedepends="automake pkg-config intltool libtool python3-devel"
+makedepends="libressl-devel boost-devel geoip-devel python3-devel"
short_desc="C++ bittorrent library by Rasterbar Software"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD-3-Clause"
@@ -14,9 +14,9 @@ distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${v
checksum=30040719858e3c06634764e0c1778738eb42ecd0b45e814afa746329a948ead7
pre_configure() {
- export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
- export PYTHON_CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
- export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"
+ export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python3.6m"
+ export PYTHON_CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python3.6m"
+ export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython3.6m"
autoreconf -fi
}
@@ -24,11 +24,11 @@ post_install() {
vlicense LICENSE
}
-libtorrent-rasterbar-python_package() {
+libtorrent-rasterbar-python3_package() {
lib32disabled=yes
- short_desc+=" - Python2 bindings"
+ short_desc+=" - Python3 bindings"
pkg_install() {
- vmove usr/lib/python2*
+ vmove usr/lib/python3*
}
}
next prev parent reply other threads:[~2019-06-30 20:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-30 18:29 [PR PATCH] " voidlinux-github
2019-06-30 19:54 ` voidlinux-github
2019-06-30 20:52 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-30 20:52 ` voidlinux-github [this message]
2019-07-01 12:02 ` voidlinux-github
2019-07-01 12:37 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-01 12:37 ` voidlinux-github
2019-07-02 8:05 ` voidlinux-github
2019-07-03 18:14 ` [PR PATCH] [Merged]: " voidlinux-github
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=20190630205234.-BYQuDZPVa23lajY5tZ4L50tC23ag1vwpSt2B9D1fqo@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).