From owner-freebsd-ports@freebsd.org Thu Apr 23 22:07:00 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B80FD2C4BF1 for ; Thu, 23 Apr 2020 22:07:00 +0000 (UTC) (envelope-from futatuki@yf.bsdclub.org) Received: from mkii.yf.bsdclub.org (mkii.yf.bsdclub.org [219.117.219.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 497WcM43zyz4Nj4 for ; Thu, 23 Apr 2020 22:06:59 +0000 (UTC) (envelope-from futatuki@yf.bsdclub.org) Received: from localhost (mkii.yf.bsdclub.org [192.168.8.2]) by mkii.yf.bsdclub.org (8.14.7/8.14.7) with SMTP id 03NLk7T5094833; Fri, 24 Apr 2020 06:46:07 +0900 (JST) (envelope-from futatuki@yf.bsdclub.org) To: freebsd-ports@freebsd.org Cc: futatuki@yf.bsdclub.org From: futatuki@bsdclub.org Subject: Re: FreeBSD Port: devel/py-subversion - Python 3 flavor? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailer: mnews [version 1.22PL7] 2003-09/29(Mon) Date: Thu, 23 Apr 2020 21:46:07 GMT Message-ID: <200424064607.M0194799@mkii.yf.bsdclub.org> X-Rspamd-Queue-Id: 497WcM43zyz4Nj4 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of futatuki@yf.bsdclub.org has no SPF policy when checking 219.117.219.2) smtp.mailfrom=futatuki@yf.bsdclub.org X-Spamd-Result: default: False [7.39 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; GREYLIST(0.00)[pass,body]; MIME_TRACE(0.00)[0:+]; MV_CASE(0.50)[]; IP_SCORE(1.69)[ipnet: 219.117.192.0/18(4.90), asn: 2514(3.50), country: JP(0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[bsdclub.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[futatuki@bsdclub.org,futatuki@yf.bsdclub.org]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:2514, ipnet:219.117.192.0/18, country:JP]; FROM_NEQ_ENVFROM(0.00)[futatuki@bsdclub.org,futatuki@yf.bsdclub.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 22:07:00 -0000 I posted it from wrong email address so I repost ... ------- Forwarded Message To: lev@FreeBSD.org Cc: dan@langille.org, freebsd-ports@freebsd.org, futatuki@yf.bsdclub.org Subject: Re: FreeBSD Port: devel/py-subversion - Python 3 flavor? In-Reply-To: Your message of "Thu, 23 Apr 2020 18:37:53 +0300". <4455c880-71d0-c90d-18ce-b1497d3d7dda@FreeBSD.org> From: Yasuhito FUTATSUKI Message-ID: <200424061857.M0194579@mkii.yf.bsdclub.org> Hi, In article <4455c880-71d0-c90d-18ce-b1497d3d7dda@FreeBSD.org> lev@FreeBSD.org writes: > On 23.04.2020 17:43, Dan Langille wrote: > > subversion 1.14.0 which is RC2 now will be python3 only. This is partly incorrect. Upcoming subversion 1.14.0 will still allow to build SWIG python 2 binding. We are checking 'make check-swig-py' both of with Python 2.7 and with Python 3.x. However, * subversion 1.14.0 release tarball will be shipped with SWIG generated Python bindings source code only for Python 3. To build Python 2 bindings, SWIG is needed. * Python 2 bindings and Python 3 bindings is conflict to install, because both of them requires mutual incompatible libsvn-swig_py-1.so each other Please see subversion/binding/swig/INSTALL in subversion source tree for detail. And these are not related support for SWIG Python bindings itself directly, but better to know: * Python application using Subversion SWIG Python bindings also need to modify to support Python 3. Especially distinction between bytes and str will be needed. All char * type in C API are mapped to bytes, although it accept str for input. * Support for Python 3 for scripts in tools/ subdirectory is very poor status. (See https://cwiki.apache.org/confluence/display/SVN/Subversion%27s+Python+3+Support+Status for detail) I, myself, use tools/hook-scripts/mailer/mailer.py for commit mail, it doesn't work with Python 3. I also use ViewVC (devel/viewvc, https://github.com/viewvc/viewvc) but its Python 3 support is in progress. Cheers, -- Yasuhito FUTATSUKI ------- End of Forwarded Message Cheers, -- Yasuhito FUTATSUKI