Re: py34-dnspython
> On 22 Sep 2016, at 18:09, Ruslan Makhmatkhanov wrote: > > Kristof Provost wrote on 09/21/2016 11:54: >>> On 20 Sep 2016, at 20:15, Ruslan Makhmatkhanov wrote: >>> Kristof Provost wrote on 09/20/2016 19:40: >>>> I found I had a need for dnspython for python 3.4. The port builds >>>> only for >>>> python 2.7 at the moment. >>>> Attached is a patch to introduce py34-dnspython. >>>> >>>> Regards, >>>> Kristof >>> >>> Feel free to commit it. Actually people asked about this in past, but >>> I wasn't able to do that for some reason. >>> >>> I'd only change port directory name to dns/py3-dnspython to not tie it >>> to particular python version, but to use default python3 version >>> (which is 3.4 at the moment). PYTHON_VERSION is better to replace with >>> USES too. >>> >>> Please see audio/py3-mutagen/Makefile for example. >>> >> Thanks for the suggestions. I’ve updated the patch. >> I don’t have a ports commit bit, but I’m in Belgrade for EuroBSD, so I’m >> sure I can find someone ;) >> >> Regards, >> Kristof > > Committed in r422632. Thank you! Thanks! Kristof ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: py34-dnspython
Kristof Provost wrote on 09/21/2016 11:54: On 20 Sep 2016, at 20:15, Ruslan Makhmatkhanov wrote: Kristof Provost wrote on 09/20/2016 19:40: I found I had a need for dnspython for python 3.4. The port builds only for python 2.7 at the moment. Attached is a patch to introduce py34-dnspython. Regards, Kristof Feel free to commit it. Actually people asked about this in past, but I wasn't able to do that for some reason. I'd only change port directory name to dns/py3-dnspython to not tie it to particular python version, but to use default python3 version (which is 3.4 at the moment). PYTHON_VERSION is better to replace with USES too. Please see audio/py3-mutagen/Makefile for example. Thanks for the suggestions. I’ve updated the patch. I don’t have a ports commit bit, but I’m in Belgrade for EuroBSD, so I’m sure I can find someone ;) Regards, Kristof Committed in r422632. Thank you! -- Regards, Ruslan T.O.S. Of Reality ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: py34-dnspython
Kristof Provost wrote on 09/21/2016 11:54: On 20 Sep 2016, at 20:15, Ruslan Makhmatkhanov wrote: Kristof Provost wrote on 09/20/2016 19:40: I found I had a need for dnspython for python 3.4. The port builds only for python 2.7 at the moment. Attached is a patch to introduce py34-dnspython. Regards, Kristof Feel free to commit it. Actually people asked about this in past, but I wasn't able to do that for some reason. I'd only change port directory name to dns/py3-dnspython to not tie it to particular python version, but to use default python3 version (which is 3.4 at the moment). PYTHON_VERSION is better to replace with USES too. Please see audio/py3-mutagen/Makefile for example. Thanks for the suggestions. I’ve updated the patch. I don’t have a ports commit bit, but I’m in Belgrade for EuroBSD, so I’m sure I can find someone ;) Regards, Kristof Ah, sorry, I didn't know that. Sure, I'll do it for you today :). The patch is good. Have phun at the conference). -- Regards, Ruslan T.O.S. Of Reality ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: py34-dnspython
On 20 Sep 2016, at 20:15, Ruslan Makhmatkhanov wrote: Kristof Provost wrote on 09/20/2016 19:40: I found I had a need for dnspython for python 3.4. The port builds only for python 2.7 at the moment. Attached is a patch to introduce py34-dnspython. Regards, Kristof Feel free to commit it. Actually people asked about this in past, but I wasn't able to do that for some reason. I'd only change port directory name to dns/py3-dnspython to not tie it to particular python version, but to use default python3 version (which is 3.4 at the moment). PYTHON_VERSION is better to replace with USES too. Please see audio/py3-mutagen/Makefile for example. Thanks for the suggestions. I’ve updated the patch. I don’t have a ports commit bit, but I’m in Belgrade for EuroBSD, so I’m sure I can find someone ;) Regards, Kristofdiff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile index f475c77..ed3d16d 100644 --- a/dns/py-dnspython/Makefile +++ b/dns/py-dnspython/Makefile @@ -11,7 +11,7 @@ MAINTAINER= r...@freebsd.org COMMENT= DNS toolkit for Python NO_ARCH= yes -USES= python:2.7+ +USES?= python:2.7+ USE_PYTHON=autoplist distutils OPTIONS_DEFINE=DOCS EXAMPLES PYCRYPTO diff --git a/dns/py3-dnspython/Makefile b/dns/py3-dnspython/Makefile new file mode 100644 index 000..1e618ea --- /dev/null +++ b/dns/py3-dnspython/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../py-dnspython + +USES= python:3.3+ + +.include "${MASTERDIR}/Makefile" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: py34-dnspython
Hi Kristof, Kristof Provost wrote on 09/20/2016 19:40: Hi, I found I had a need for dnspython for python 3.4. The port builds only for python 2.7 at the moment. Attached is a patch to introduce py34-dnspython. Regards, Kristof Feel free to commit it. Actually people asked about this in past, but I wasn't able to do that for some reason. I'd only change port directory name to dns/py3-dnspython to not tie it to particular python version, but to use default python3 version (which is 3.4 at the moment). PYTHON_VERSION is better to replace with USES too. Please see audio/py3-mutagen/Makefile for example. -- Regards, Ruslan T.O.S. Of Reality ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
py34-dnspython
Hi, I found I had a need for dnspython for python 3.4. The port builds only for python 2.7 at the moment. Attached is a patch to introduce py34-dnspython. Regards, Kristofdiff --git a/dns/py34-dnspython/Makefile b/dns/py34-dnspython/Makefile new file mode 100644 index 000..19af934 --- /dev/null +++ b/dns/py34-dnspython/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../py-dnspython + +PYTHON_VERSION=python3.4 + +.include "${MASTERDIR}/Makefile" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"