Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libtorrent-rasterbar: build with python3 bindings
@ 2019-06-30 18:29 voidlinux-github
  2019-06-30 19:54 ` voidlinux-github
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-30 18:29 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2551 bytes --]

From eba70a7b654105d2e92792956e828c06105c02a6 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

---
 ...bar-python => libtorrent-rasterbar-python3} |  0
 srcpkgs/libtorrent-rasterbar/template          | 18 +++++++++---------
 2 files changed, 9 insertions(+), 9 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..8cfb3cc9367 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"
+hostmakedepends="automake pkg-config intltool libtool python3-devel boost-python3-1.69"
+makedepends="libressl-devel boost-devel geoip-devel python3-devel boost-python3-1.69"
 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*
 	}
 }
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
@ 2019-06-30 19:54 ` voidlinux-github
  2019-06-30 20:52 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-30 19:54 UTC (permalink / raw)
  To: ml

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

New comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/pull/12761#issuecomment-507062714
Comment:
Adding boost-python3-1.69 to {host,}makedepends is not necessary, boost-devel is enough, the shlib itself is auto-detected by xbps.

`--with-boost-python=boost_python36` needs to be set explicitly, otherwise it picks up python27:
```
Boost libraries:
  boost.python:         -lboost_python27
```

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
  2019-06-30 19:54 ` voidlinux-github
@ 2019-06-30 20:52 ` voidlinux-github
  2019-06-30 20:52 ` voidlinux-github
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-30 20:52 UTC (permalink / raw)
  To: ml

[-- 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*
 	}
 }
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings 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
  2019-07-01 12:02 ` voidlinux-github
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-06-30 20:52 UTC (permalink / raw)
  To: ml

[-- 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*
 	}
 }
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
                   ` (2 preceding siblings ...)
  2019-06-30 20:52 ` voidlinux-github
@ 2019-07-01 12:02 ` voidlinux-github
  2019-07-01 12:37 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-07-01 12:02 UTC (permalink / raw)
  To: ml

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

New comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/pull/12761#issuecomment-507235755
Comment:
Two CI cross-builders had some issues finding the Python3 lib.
Looking at config.log, this should be fixed by changing `PYTHON_LDFLAGS` to `PYTHON_EXTRA_LDFLAGS`.
Could you please do that?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
                   ` (3 preceding siblings ...)
  2019-07-01 12:02 ` voidlinux-github
@ 2019-07-01 12:37 ` voidlinux-github
  2019-07-01 12:37 ` voidlinux-github
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-07-01 12:37 UTC (permalink / raw)
  To: ml

[-- 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: 2651 bytes --]

From 06a198d27a9242c1c5b8d977432f9d7c82c0be3f 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..118108c6184 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_EXTRA_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*
 	}
 }
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-07-01 12:37 UTC (permalink / raw)
  To: ml

[-- 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: 2651 bytes --]

From 06a198d27a9242c1c5b8d977432f9d7c82c0be3f 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..118108c6184 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_EXTRA_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*
 	}
 }
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
                   ` (5 preceding siblings ...)
  2019-07-01 12:37 ` voidlinux-github
@ 2019-07-02  8:05 ` voidlinux-github
  2019-07-03 18:14 ` [PR PATCH] [Merged]: " voidlinux-github
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-07-02  8:05 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/12761#issuecomment-507568141
Comment:
ARCH=armv7l BOOTSTRAP=x86_64: 
```
Installing xtools...
gzip: stdin: unexpected end of file
tar: This does not look like a tar archive
tar: xtools-master/x*: Not found in archive
tar: Exiting with failure status due to previous errors
The command "common/travis/fetch-xtools.sh" failed and exited with 1 during .
Your build has been stopped.
```
Well, that is not an issue with the template :P

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Merged]: libtorrent-rasterbar: build with python3 bindings
  2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings voidlinux-github
                   ` (6 preceding siblings ...)
  2019-07-02  8:05 ` voidlinux-github
@ 2019-07-03 18:14 ` voidlinux-github
  7 siblings, 0 replies; 9+ messages in thread
From: voidlinux-github @ 2019-07-03 18:14 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

libtorrent-rasterbar: build with python3 bindings
https://github.com/void-linux/void-packages/pull/12761
Description: 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-03 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-30 18:29 [PR PATCH] libtorrent-rasterbar: build with python3 bindings 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
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

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).