Re: NEW/UPDATE: devel/py-twisted

2017-05-08 Thread Pavel Korovin
Hopefully, it's OK for commit.
Dependent ports will follow shortly.

-- 
With best regards,
Pavel Korovin


devel_py-twisted.tar.gz
Description: application/tar-gz


Re: NEW/UPDATE: devel/py-twisted

2017-05-06 Thread Landry Breuil
On Tue, May 02, 2017 at 01:30:18PM +0300, Pavel Korovin wrote:
> On 05/02, Landry Breuil wrote:
> > That's also what pavel did in his submission - so we're definitely going
> > this way. Now all the pieces of the puzzle need to be upgraded/tested
> > altogether. Ie:
> > - new dependencies of twisted imported (4 or 6 new ports?)
> > - the 'new' twisted layout needs to be imported
> > - and the ports using it need to be tested/updated to work with it (or be 
> > removed).
> > 
> > > As for the various divmod packages (py-epsilon, py-nevow, py-axiom) that 
> > > depends
> > > on twisted, I think they are dead and they can be removed.
> > 
> > Well, those arent really "dead" since they were "adopted" by upstream
> > twisted (under https://github.com/twisted), they just need to change
> > upstream if we want to keep them, or remove them if they're
> > unused/useless.
> 
> Landry, I'd like to re-check new py-twisted dependencies (py2/py3
> builds/tests) and submit it one by one to ports@ for commit.
> 
> After that I'll try to resolve issues with ports dependent on py-twisted
> so we can decide whether update or remove it. Finally, update py-twisted
> along with dependent ports.

So, all dependencies are in.

I've tested the py-twisted new layout, and i spotted that it was missing
the @pkgpath annotations in PLIST to ease the upgrade path:

@pkgpath devel/py-twisted/core
@pkgpath devel/py-twisted/conch
@pkgpath devel/py-twisted/lore
@pkgpath devel/py-twisted/mail
@pkgpath devel/py-twisted/news
@pkgpath devel/py-twisted/names
@pkgpath devel/py-twisted/pair
@pkgpath devel/py-twisted/runner
@pkgpath devel/py-twisted/web
@pkgpath devel/py-twisted/web2
@pkgpath devel/py-twisted/words

I'm going to fiddle a bit more with it. Here's a diff to adapt
buildbot/buildslave, dependencies paths need ajusting, and only a
oneliner diff is needed for buildbot itself to start and run fine.

Now, all the other ports depending on it need to be checked/fixed before
we can commit the whole thing.

Landry

Index: py-buildbot/Makefile
===
RCS file: /cvs/ports/devel/py-buildbot/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- py-buildbot/Makefile15 May 2016 09:04:09 -  1.34
+++ py-buildbot/Makefile6 May 2017 10:23:24 -
@@ -5,7 +5,7 @@
 MODPY_EGG_VERSION =0.8.12
 DISTNAME = buildbot-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME:S/p/pl/}
-REVISION = 5
+REVISION = 6
 
 CATEGORIES =   devel
 
@@ -25,11 +25,7 @@
 RUN_DEPENDS =  databases/py-sqlalchemy \
databases/py-sqlalchemy-migrate>=0.7.2 \
devel/py-dateutil \
-   devel/py-twisted/core \
-   devel/py-twisted/conch \
-   devel/py-twisted/mail \
-   devel/py-twisted/web \
-   devel/py-twisted/words \
+   devel/py-twisted \
www/py-jinja2
 
 TEST_DEPENDS = ${RUN_DEPENDS} \
Index: py-buildbot/patches/patch-buildbot_status_web_baseweb_py
===
RCS file: py-buildbot/patches/patch-buildbot_status_web_baseweb_py
diff -N py-buildbot/patches/patch-buildbot_status_web_baseweb_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ py-buildbot/patches/patch-buildbot_status_web_baseweb_py6 May 2017 
10:23:24 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Fix runtime with twisted >= 17.
+
+Index: buildbot/status/web/baseweb.py
+--- buildbot/status/web/baseweb.py.orig
 buildbot/status/web/baseweb.py
+@@ -53,7 +53,6 @@ from twisted.cred.portal import Portal
+ from twisted.internet import defer
+ from twisted.python import log
+ from twisted.spread import pb
+-from twisted.web import distrib
+ from twisted.web import guard
+ from twisted.web import resource
+ from twisted.web import server
Index: py-buildslave/Makefile
===
RCS file: /cvs/ports/devel/py-buildslave/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- py-buildslave/Makefile  29 Sep 2015 10:51:44 -  1.18
+++ py-buildslave/Makefile  6 May 2017 10:23:24 -
@@ -5,7 +5,7 @@
 MODPY_EGG_VERSION= 0.8.12
 DISTNAME=  buildbot-slave-${MODPY_EGG_VERSION}
 PKGNAME=   py-buildslave-${MODPY_EGG_VERSION:S/p/pl/}
-REVISION=  1
+REVISION=  2
 
 CATEGORIES=devel
 
@@ -22,7 +22,7 @@
 
 MODPY_SETUPTOOLS=  Yes
 
-RUN_DEPENDS=   devel/py-twisted/core
+RUN_DEPENDS=   devel/py-twisted
 
 TEST_DEPENDS=  ${RUN_DEPENDS} \
devel/py-mock


Re: NEW/UPDATE: devel/py-twisted

2017-05-02 Thread Landry Breuil
On Tue, May 02, 2017 at 01:30:18PM +0300, Pavel Korovin wrote:
> On 05/02, Landry Breuil wrote:
> > That's also what pavel did in his submission - so we're definitely going
> > this way. Now all the pieces of the puzzle need to be upgraded/tested
> > altogether. Ie:
> > - new dependencies of twisted imported (4 or 6 new ports?)
> > - the 'new' twisted layout needs to be imported
> > - and the ports using it need to be tested/updated to work with it (or be 
> > removed).
> > 
> > > As for the various divmod packages (py-epsilon, py-nevow, py-axiom) that 
> > > depends
> > > on twisted, I think they are dead and they can be removed.
> > 
> > Well, those arent really "dead" since they were "adopted" by upstream
> > twisted (under https://github.com/twisted), they just need to change
> > upstream if we want to keep them, or remove them if they're
> > unused/useless.
> 
> Landry, I'd like to re-check new py-twisted dependencies (py2/py3
> builds/tests) and submit it one by one to ports@ for commit.
> 
> After that I'll try to resolve issues with ports dependent on py-twisted
> so we can decide whether update or remove it. Finally, update py-twisted
> along with dependent ports.
> 
> Is it OK for everybody?

Definitely the way to go, thanks for doing this :)



Re: NEW/UPDATE: devel/py-twisted

2017-05-02 Thread Pavel Korovin
On 05/02, Landry Breuil wrote:
> That's also what pavel did in his submission - so we're definitely going
> this way. Now all the pieces of the puzzle need to be upgraded/tested
> altogether. Ie:
> - new dependencies of twisted imported (4 or 6 new ports?)
> - the 'new' twisted layout needs to be imported
> - and the ports using it need to be tested/updated to work with it (or be 
> removed).
> 
> > As for the various divmod packages (py-epsilon, py-nevow, py-axiom) that 
> > depends
> > on twisted, I think they are dead and they can be removed.
> 
> Well, those arent really "dead" since they were "adopted" by upstream
> twisted (under https://github.com/twisted), they just need to change
> upstream if we want to keep them, or remove them if they're
> unused/useless.

Landry, I'd like to re-check new py-twisted dependencies (py2/py3
builds/tests) and submit it one by one to ports@ for commit.

After that I'll try to resolve issues with ports dependent on py-twisted
so we can decide whether update or remove it. Finally, update py-twisted
along with dependent ports.

Is it OK for everybody?

-- 
With best regards,
Pavel Korovin



Re: NEW/UPDATE: devel/py-twisted

2017-05-02 Thread Landry Breuil
On Tue, May 02, 2017 at 09:23:04AM +0200, Eric Faurot wrote:
> On Mon, May 01, 2017 at 11:10:23PM +0300, Pavel Korovin wrote:
> > On 05/01, Landry Breuil wrote:
> > > 
> > > So, in this maze of ports, which are the new ones that could be imported
> > > now (ie, that build/work with the current twisted or dont regress other
> > > ports), pending twisted review/update in the meantime ? That would move
> > > things forward...
> > > 
> > > eric, are you still using twisted, or do you want to drop maintainership
> > > ? if so, pavel, do you want to take maintainership ?
> > 
> > If Eric wants to transfer maintainership, I'm OK with taking py-twisted
> > and dependencies.
> 
> Hi!
> 
> I'm not using twisted anymore, and I'll be glad to pass maintainership to 
> Pavel
> so that things can move forward.
> 
> I suggest to remove the various subpackages (which were designed after the
> way twisted was distributed long ago) and have just one package, as I tried
> to do in the update attempt that Landry posted.

That's also what pavel did in his submission - so we're definitely going
this way. Now all the pieces of the puzzle need to be upgraded/tested
altogether. Ie:
- new dependencies of twisted imported (4 or 6 new ports?)
- the 'new' twisted layout needs to be imported
- and the ports using it need to be tested/updated to work with it (or be 
removed).

> As for the various divmod packages (py-epsilon, py-nevow, py-axiom) that 
> depends
> on twisted, I think they are dead and they can be removed.

Well, those arent really "dead" since they were "adopted" by upstream
twisted (under https://github.com/twisted), they just need to change
upstream if we want to keep them, or remove them if they're
unused/useless.



Re: NEW/UPDATE: devel/py-twisted

2017-05-02 Thread Eric Faurot
On Mon, May 01, 2017 at 11:10:23PM +0300, Pavel Korovin wrote:
> On 05/01, Landry Breuil wrote:
> > 
> > So, in this maze of ports, which are the new ones that could be imported
> > now (ie, that build/work with the current twisted or dont regress other
> > ports), pending twisted review/update in the meantime ? That would move
> > things forward...
> > 
> > eric, are you still using twisted, or do you want to drop maintainership
> > ? if so, pavel, do you want to take maintainership ?
> 
> If Eric wants to transfer maintainership, I'm OK with taking py-twisted
> and dependencies.

Hi!

I'm not using twisted anymore, and I'll be glad to pass maintainership to Pavel
so that things can move forward.

I suggest to remove the various subpackages (which were designed after the
way twisted was distributed long ago) and have just one package, as I tried
to do in the update attempt that Landry posted.

As for the various divmod packages (py-epsilon, py-nevow, py-axiom) that depends
on twisted, I think they are dead and they can be removed.

Eric.



Re: NEW/UPDATE: devel/py-twisted

2017-05-01 Thread Pavel Korovin
On 05/01, Landry Breuil wrote:
> 
> So, in this maze of ports, which are the new ones that could be imported
> now (ie, that build/work with the current twisted or dont regress other
> ports), pending twisted review/update in the meantime ? That would move
> things forward...
> 
> eric, are you still using twisted, or do you want to drop maintainership
> ? if so, pavel, do you want to take maintainership ?

If Eric wants to transfer maintainership, I'm OK with taking py-twisted
and dependencies.

-- 
With best regards,
Pavel Korovin



Re: NEW/UPDATE: devel/py-twisted

2017-05-01 Thread Landry Breuil
On Mon, May 01, 2017 at 10:32:38AM +0200, Landry Breuil wrote:
> On Mon, May 01, 2017 at 10:27:39AM +0200, Landry Breuil wrote:
> > On Thu, Apr 20, 2017 at 09:52:16AM +0300, Pavel Korovin wrote:
> > > On 04/20, Landry Breuil wrote:
> > > > 
> > > > Have you first communicated with eric@, the current MAINTAINER ? He
> > > > started working on it at some point but i dont remember the status of
> > > > it. Note that ports using twisted must be tested with this update too,
> > > > and upgrade path has to be taken care of. I'll welcome this update, as
> > > > it's a requirement to update buildbot to the 0.9 series.
> > > 
> > > Hi Landry, 
> > > Sorry, I didn't communicate with Eric. I was excited a bit by the process:
> > > actually I started with updating py-whisper/py-carbon and it required
> > > py-twisted update which required a bunch of new python modules, so I've
> > > lost the track in this garden of forking ports and forgot to check with
> > > MAINTAINER.
> > 
> > So, in this maze of ports, which are the new ones that could be imported
> > now (ie, that build/work with the current twisted or dont regress other
> > ports), pending twisted review/update in the meantime ? That would move
> > things forward...
> > 
> > eric, are you still using twisted, or do you want to drop maintainership
> > ? if so, pavel, do you want to take maintainership ?
> 
> And fwiw, here's what eric@ sent me a while ago - this one had 4 new
> ports:
> py-incremental
> py-attrs
> py-constantly
> py-service-identity
> (and of course a single port for py-twisted)
> 
> in the consumers, i think londonlaw and castle-combat could be removed
> as not alive upstream, or that was the case last i looked.


Looked a bit more at all the consumers:
- all the previous 'divmod.org' python packages (axiom, epsilon, nevow)
were put under the twisted umbrella on github (divmod.org died) and
depend on twisted >= 13.0 for their newer versions.
- londonlaw died upstream long ago
- hellanzb is also dead upstream
- castle-combat is not much alive upstream
- kajongg should be updated to a more recent version
- telepathy-gabble|haze|idle|logger only use devel/py-twisted/words as a
build depends
- avahi-ui only depends on twisted.web for bookmarks, cf
  
https://github.com/lathiat/avahi/blob/master/avahi-python/avahi-bookmarks.in#L186

I'd propose to remove hellanzb, londonlaw and castle-combat for a start.

Landry
> Landry




Re: NEW/UPDATE: devel/py-twisted

2017-05-01 Thread Landry Breuil
On Mon, May 01, 2017 at 10:27:39AM +0200, Landry Breuil wrote:
> On Thu, Apr 20, 2017 at 09:52:16AM +0300, Pavel Korovin wrote:
> > On 04/20, Landry Breuil wrote:
> > > 
> > > Have you first communicated with eric@, the current MAINTAINER ? He
> > > started working on it at some point but i dont remember the status of
> > > it. Note that ports using twisted must be tested with this update too,
> > > and upgrade path has to be taken care of. I'll welcome this update, as
> > > it's a requirement to update buildbot to the 0.9 series.
> > 
> > Hi Landry, 
> > Sorry, I didn't communicate with Eric. I was excited a bit by the process:
> > actually I started with updating py-whisper/py-carbon and it required
> > py-twisted update which required a bunch of new python modules, so I've
> > lost the track in this garden of forking ports and forgot to check with
> > MAINTAINER.
> 
> So, in this maze of ports, which are the new ones that could be imported
> now (ie, that build/work with the current twisted or dont regress other
> ports), pending twisted review/update in the meantime ? That would move
> things forward...
> 
> eric, are you still using twisted, or do you want to drop maintainership
> ? if so, pavel, do you want to take maintainership ?

And fwiw, here's what eric@ sent me a while ago - this one had 4 new
ports:
py-incremental
py-attrs
py-constantly
py-service-identity
(and of course a single port for py-twisted)

in the consumers, i think londonlaw and castle-combat could be removed
as not alive upstream, or that was the case last i looked.

Landry


twisted-all.tgz
Description: application/tar-gz


Re: NEW/UPDATE: devel/py-twisted

2017-05-01 Thread Landry Breuil
On Thu, Apr 20, 2017 at 09:52:16AM +0300, Pavel Korovin wrote:
> On 04/20, Landry Breuil wrote:
> > 
> > Have you first communicated with eric@, the current MAINTAINER ? He
> > started working on it at some point but i dont remember the status of
> > it. Note that ports using twisted must be tested with this update too,
> > and upgrade path has to be taken care of. I'll welcome this update, as
> > it's a requirement to update buildbot to the 0.9 series.
> 
> Hi Landry, 
> Sorry, I didn't communicate with Eric. I was excited a bit by the process:
> actually I started with updating py-whisper/py-carbon and it required
> py-twisted update which required a bunch of new python modules, so I've
> lost the track in this garden of forking ports and forgot to check with
> MAINTAINER.

So, in this maze of ports, which are the new ones that could be imported
now (ie, that build/work with the current twisted or dont regress other
ports), pending twisted review/update in the meantime ? That would move
things forward...

eric, are you still using twisted, or do you want to drop maintainership
? if so, pavel, do you want to take maintainership ?

Landry



Re: NEW/UPDATE: devel/py-twisted

2017-04-20 Thread Pavel Korovin
On 04/20, Landry Breuil wrote:
> 
> Have you first communicated with eric@, the current MAINTAINER ? He
> started working on it at some point but i dont remember the status of
> it. Note that ports using twisted must be tested with this update too,
> and upgrade path has to be taken care of. I'll welcome this update, as
> it's a requirement to update buildbot to the 0.9 series.

Hi Landry, 
Sorry, I didn't communicate with Eric. I was excited a bit by the process:
actually I started with updating py-whisper/py-carbon and it required
py-twisted update which required a bunch of new python modules, so I've
lost the track in this garden of forking ports and forgot to check with
MAINTAINER.

-- 
With best regards,
Pavel Korovin



Re: NEW/UPDATE: devel/py-twisted

2017-04-19 Thread Landry Breuil
On Wed, Apr 19, 2017 at 08:28:17PM +0300, Pavel Korovin wrote:
> Dear all,
> 
> Please find the attached ports required for devel/py-twisted update
> (along with py-twisted itself).
> 
> The in-tree py-twisted is quite outdated; since 2015 twisted team consolidated
> everything in one package (https://twistedmatrix.com/trac/ticket/7964).

Have you first communicated with eric@, the current MAINTAINER ? He
started working on it at some point but i dont remember the status of
it. Note that ports using twisted must be tested with this update too,
and upgrade path has to be taken care of. I'll welcome this update, as
it's a requirement to update buildbot to the 0.9 series.

Landry



NEW/UPDATE: devel/py-twisted

2017-04-19 Thread Pavel Korovin
Dear all,

Please find the attached ports required for devel/py-twisted update
(along with py-twisted itself).

The in-tree py-twisted is quite outdated; since 2015 twisted team consolidated
everything in one package (https://twistedmatrix.com/trac/ticket/7964).

Some tests fail, python3 tests do not work at all, but I decided to add
python3 FLAVOR to be able to play with it later.

-- 
With best regards,
Pavel Korovin


devel_py-attrs.tar.gz
Description: application/tar-gz


devel_py-automat.tar.gz
Description: application/tar-gz


devel_py-characteristic.tar.gz
Description: application/tar-gz


devel_py-constantly.tar.gz
Description: application/tar-gz


devel_py-incremental.tar.gz
Description: application/tar-gz


devel_py-twisted.tar.gz
Description: application/tar-gz
Index: Makefile
===
RCS file: /cvs/ports/devel/py-zopeinterface/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile3 Jan 2017 19:19:49 -   1.23
+++ Makefile19 Apr 2017 14:09:49 -
@@ -2,12 +2,11 @@
 
 COMMENT=   object interface infrastructure from Zope
 
-MODPY_EGG_VERSION= 4.3.1
+MODPY_EGG_VERSION= 4.3.3
 
 DISTNAME=  zope.interface-${MODPY_EGG_VERSION}
 PKGNAME=   py-zopeinterface-${MODPY_EGG_VERSION}
 CATEGORIES=devel
-REVISION=  0
 
 # Zope Public License
 PERMIT_PACKAGE_CDROM=  Yes
@@ -23,6 +22,6 @@ TEST_DEPENDS= devel/py-zopeevent${MODPY_
 MODPY_SETUPTOOLS=  Yes
 
 FLAVORS=   python3
-FLAVOR?=   
+FLAVOR?=
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-zopeinterface/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo3 Sep 2016 16:27:51 -   1.9
+++ distinfo19 Apr 2017 14:09:49 -
@@ -1,2 +1,2 @@
-SHA256 (zope.interface-4.3.1.tar.gz) = 
MgkgztsHZm/UAi9qD81KRFURM6hBXJjqwIc7dTu1pww=
-SIZE (zope.interface-4.3.1.tar.gz) = 147262
+SHA256 (zope.interface-4.3.3.tar.gz) = 
h4DvaMqMP+GrswwFilkBUSnW4EprAsLla5x95geN+og=
+SIZE (zope.interface-4.3.3.tar.gz) = 150572


security_py-service_identity.tar.gz
Description: application/tar-gz


textproc_py-m2r.tar.gz
Description: application/tar-gz