Re: REVISION: databases/py-sqlalchemy

2018-06-10 Thread Marc Espie
On Sun, Jun 10, 2018 at 08:50:53PM -0300, Elias M. Mariani wrote:
> py-sqlalchemy and py3-sqlalchemy (python3 flavor) have conflicts with
> the documentation.
> The diff attached makes a different folder for py3, best solution I
> guess without making a docs package.
> 
> Now the versions can coexist...
> 
> Cheers.
> Elias


Why not make a doc subpackage ?
We got the tools, and that's pretty easy to do.



Re: [UPDATE] x11/terminator 0.98 -> 1.91

2018-06-10 Thread Landry Breuil
On Sun, Jun 10, 2018 at 08:31:57PM -0300, Elias M. Mariani wrote:
> This is not a ping...
> I noticed that the diff didn't have the removal of the patches
> directory, there is no need for that one patch anymore in this
> version.
> 
> If someone decides to commit this must remove the directory.

cvs has no concept of directory removal, once a dir is empty cvs up -PAd
will remove the dir from the local checkout.



Re: NEW: graphics/digikam [4/4 digikam 5]

2018-06-10 Thread Elias M. Mariani
No good.
Couldn't get digikam to work.
This one will be hard to crack.

Cheers.
Elias.

2018-06-09 21:37 GMT-03:00 Elias M. Mariani :
> Well, after applying the patch to graphics/opencv,
> Compiling that beast of code.
> Then compiling the mega-beast of code that is digikam...
> I return with a "No OK".
> At least in this machine where I run the tests.
> Even worst, I do not have much to help debug...
>
> After the "loading cameras..." splash screen the application goes
> down, attached you will find the output of the console, after the last
> line the application just closes.
>
> It might be a problem with how I applied the patch for OpenCV, so I
> will compile one more time the beasts... I hate Digikam so much... So
> wait for a further report but probably the problem is elsewhere.
>
> Cheers.
> Elias.



REVISION: databases/py-sqlalchemy

2018-06-10 Thread Elias M. Mariani
py-sqlalchemy and py3-sqlalchemy (python3 flavor) have conflicts with
the documentation.
The diff attached makes a different folder for py3, best solution I
guess without making a docs package.

Now the versions can coexist...

Cheers.
Elias


py-sqlalchemy.diff
Description: Binary data


Re: [UPDATE] x11/terminator 0.98 -> 1.91

2018-06-10 Thread Elias M. Mariani
This is not a ping...
I noticed that the diff didn't have the removal of the patches
directory, there is no need for that one patch anymore in this
version.

If someone decides to commit this must remove the directory.

Cheers.
Elias.


2018-06-06 20:33 GMT-03:00 Elias M. Mariani :
> Hi,
> Attached you will find the update from terminator 0.98 to 1.91.
> Terminator 0.98 is a GTK+2 terminal emulator supporting dividing the
> console in tabs and splitting it.
> The new branch 1.90+ moves to GTK+3, the 0.98 version is been abandoned.
>
> Tested OK in a vanilla OpenBSD installation with only the requirements
> for the package.
>
> It can not be used by root:
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/site-packages/terminatorlib/terminal_popup_menu.py",
> line 133, in 
> self.terminal.get_cwd()))
>   File "/usr/local/lib/python2.7/site-packages/terminatorlib/terminal.py",
> line 225, in get_cwd
> return(self.terminator.pid_cwd(self.pid))
>   File "/usr/local/lib/python2.7/site-packages/terminatorlib/cwd.py",
> line 85, in psutil_cwd
> return psutil.Process(pid).as_dict()['cwd']
>   File "/usr/local/lib/python2.7/site-packages/psutil/__init__.py",
> line 528, in as_dict
> ret = meth()
>   File "/usr/local/lib/python2.7/site-packages/psutil/__init__.py",
> line 865, in threads
> return self._proc.threads()
>   File "/usr/local/lib/python2.7/site-packages/psutil/_psbsd.py", line
> 504, in wrapper
> return fun(self, *args, **kwargs)
>   File "/usr/local/lib/python2.7/site-packages/psutil/_psbsd.py", line
> 691, in threads
> rawlist = cext.proc_threads(self.pid)
> RuntimeError: kvm_openfiles() syscall failed
>
> My wild guess is that is related with psutil getting "cwd" (current
> working directory) for root.
> I do not know if take this as a bug from terminator or from psutil or
> not a bug at all... I would go for the later one.
> Just don't use this ports as root, period.
>
> portlocatedb did not return any conflicts...
>
> Any thoughts ?
> OK?
> Commit? :D
>
> Cheers.
> Elias.



[UPDATE] net/py-dpkt

2018-06-10 Thread Remi Pointel

Hi,

attached is the diff to update dpkt to latest release.

This version is now compatible with Python 3, so add this flavor.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/net/py-dpkt/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile	4 Oct 2016 04:44:52 -	1.13
+++ Makefile	10 Jun 2018 20:23:10 -
@@ -2,7 +2,7 @@
 
 COMMENT =		python network packet manipulation library
 
-MODPY_EGG_VERSION =	1.8.8
+MODPY_EGG_VERSION =	1.9.1
 DISTNAME =		dpkt-${MODPY_EGG_VERSION}
 PKGNAME =		py-${DISTNAME}
 
@@ -20,6 +20,9 @@ MAINTAINER =		Thanasoulas Spiros 

Re: NEW: libhidapi - a library for communicating with USB and Bluetooth HID devices

2018-06-10 Thread Thomas Frohwein
New tarball, thanks sthen@ for pointing me to these!

- add missing BDEP on devel/libtool
- missed a '$' for the symlink command
- this now adds a second SHARED_LIBS entry (hidapi-libusb and hidapi). Since
  the latter is only a symlink, I put a comment to keep both versions synced.


libhidapi.tgz
Description: Binary data


Re: NEW: mkdocs

2018-06-10 Thread Edward Lopez-Acosta
I went ahead and clarified the description. Initially I used the one they
have on their site.
I also cannot update the title but forgot to include both of these would be
unde the
www category.

On Sun, Jun 10, 2018 at 1:38 PM, Ingo Schwarze  wrote:

> Hi,
>
> Edward Lopez-Acosta wrote on Sun, Jun 10, 2018 at 01:31:46PM -0500:
>
> > ---
> > Overview
> >
> > MkDocs is a fast, simple and downright gorgeous static site generator
> > that's geared towards building project documentation. Documentation
> > source files are written in Markdown, and configured with a single YAML
> > configuration file.
> > ---
>
> No time to look at the submission now, but that text needs to be
> fixed.  A DESCR is a description, not a marketing buzzword collection.
> Besides, there is a contradiction between "downright gorgeous" and
> "written in Markdown".
>
> Yours,
>   Ingo
>


mkdocs.tar.gz
Description: application/gzip


Re: new: www/hugo

2018-06-10 Thread Solene Rapenne


fredl writes:

> fixed it.
>
> ok?
> Could you please commit it for me?
>
>
> On 06/10/18 10:42, Solene Rapenne wrote:
>> fredl writes:
>>
>>> Fixed WANTLIB. Thanks solene@ !
>>>
>>>
>> running update-plist shows that you forgot to remove this line in PLIST:
>>
>> share/doc/pkg-readmes/${FULLPKGNAME}
>>
>> except this, it's ok for me. I've been able to create a website with the
>> port, using the interactive view, creating a skeleton etc...

port is ok for me, at least someone else should give their ok.

and I'm under mentorship for now. I need an ok from danj@ or from jca@.



Re: NEW: mkdocs

2018-06-10 Thread Ingo Schwarze
Hi,

Edward Lopez-Acosta wrote on Sun, Jun 10, 2018 at 01:31:46PM -0500:

> ---
> Overview
> 
> MkDocs is a fast, simple and downright gorgeous static site generator 
> that's geared towards building project documentation. Documentation 
> source files are written in Markdown, and configured with a single YAML 
> configuration file.
> ---

No time to look at the submission now, but that text needs to be
fixed.  A DESCR is a description, not a marketing buzzword collection.
Besides, there is a contradiction between "downright gorgeous" and
"written in Markdown".

Yours,
  Ingo



NEW: mkdocs

2018-06-10 Thread Edward Lopez-Acosta

---
Overview

MkDocs is a fast, simple and downright gorgeous static site generator 
that's geared towards building project documentation. Documentation 
source files are written in Markdown, and configured with a single YAML 
configuration file.

---

Can I please get additional testing and import into CVS?
py-livereload is included as a dependency which is not already packaged.

Thank you.


mkdocs.tar.gz
Description: GNU Zip compressed data


py-livereload.tar.gz
Description: GNU Zip compressed data


Re: new: www/hugo

2018-06-10 Thread fredl

fixed it.

ok?
Could you please commit it for me?


On 06/10/18 10:42, Solene Rapenne wrote:

fredl writes:


Fixed WANTLIB. Thanks solene@ !



running update-plist shows that you forgot to remove this line in PLIST:

share/doc/pkg-readmes/${FULLPKGNAME}

except this, it's ok for me. I've been able to create a website with the
port, using the interactive view, creating a skeleton etc...




hugo.tgz
Description: Binary data


Re: update-patches: replace useless prompt with user setting

2018-06-10 Thread Klemens Nanni
On Sun, Jun 10, 2018 at 01:14:58PM +0200, Marc Espie wrote:
> Style: you want to add
> EDIT_PATCHES ?= Yes
> 
> as well. (Set it around PATCH_CHECK_ONLY)
> 
> New variables should always be defined, for consistency.
Done, cheers.

> > +Unless
> > +.Ev EDIT_PATCHES
> > +is set to
> > +.Sq \&No ,
> > +changed files are opened using
> > +.Ev VISUAL ,
> > +.Ev EDITOR
> > +or
> > +.Xr vi 1 .
> Too many details. That's just the standard way to invoke your editor.
> Redundant with variable description.
Fine with me; just wanted to be clear.

> See 
> .Ev EDIT_PATCHES .
> 
> should be enough
Done.

Index: bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1414
diff -u -p -r1.1414 bsd.port.mk
--- bsd.port.mk 4 Jun 2018 06:14:56 -   1.1414
+++ bsd.port.mk 10 Jun 2018 11:43:47 -
@@ -128,6 +128,7 @@ _ALL_VARIABLES_INDEXED += COMMENT PKGNAM
 .endif
 
 PATCH_CHECK_ONLY ?= No
+EDIT_PATCHES ?=
 REFETCH ?= false
 PORTROACH ?=
 
@@ -2362,11 +2363,9 @@ update-patches:
PATCH_LIST='${PATCH_LIST}' DIFF_ARGS='${DIFF_ARGS}' \
DISTORIG=${DISTORIG} PATCHORIG=${PATCHORIG} \
${_PERLSCRIPT}/update-patches`; \
-   case $$toedit in "");; \
-   *) read i?'edit patches: '; \
-   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit;; esac
-
-
+   if [ -n "$$toedit" -a "${EDIT_PATCHES:L}" != no ]; then \
+   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; 
\
+   fi
 
 .endif # IGNORECMD
 
Index: bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.481
diff -u -p -r1.481 bsd.port.mk.5
--- bsd.port.mk.5   29 May 2018 11:45:25 -  1.481
+++ bsd.port.mk.5   10 Jun 2018 11:44:04 -
@@ -743,27 +743,9 @@ See
 .Cm lock .
 .It Cm update-patches
 Create or update patches for a port, using
-.Xr update-patches 1 ,
-which invokes
-.Xr diff 1
-between
-.Pa file
-and
-.Pa file.orig ,
-based on
-.Pa file.orig
-existence.
-In order to generate a patch, the original file needs to be named
-.Pa file.orig
-and
-.Pa file
-edited.
-After the target is invoked, the patches are placed under the
-patches/ directory.
-It moves existing patches from
-.Pa patch-file
-to
-.Pa patch-file.orig .
+.Xr update-patches 1 .
+See
+.Ev EDIT_PATCHES .
 .It Cm update
 Update an existing installation to a newer package:
 scan the installation for a package with the same
@@ -1572,6 +1554,12 @@ to see
 .Ev REORDER_DEPENDENCIES
 actions.
 Silent by default.
+.It Ev EDIT_PATCHES
+User settings.
+If set to
+.Sq \&No ,
+.Cm update-patches
+will not open changed files in an editor.
 .It Ev EPOCH
 Epoch number of the current package.
 Defaults to empty (no need for numbering changes), then



Re: update-patches: replace useless prompt with user setting

2018-06-10 Thread Marc Espie
On Sun, Jun 10, 2018 at 01:00:04PM +0200, Klemens Nanni wrote:
> Updated diff marking EDIT_PATCHES with `Ev' and properly sorting it
> between ECHO_REORDER and EPOCH.

Style: you want to add
EDIT_PATCHES ?= Yes

as well. (Set it around PATCH_CHECK_ONLY)

New variables should always be defined, for consistency.

> Index: bsd.port.mk
> ===
> RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
> retrieving revision 1.1414
> diff -u -p -r1.1414 bsd.port.mk
> --- bsd.port.mk   4 Jun 2018 06:14:56 -   1.1414
> +++ bsd.port.mk   10 Jun 2018 10:02:13 -
> @@ -2362,11 +2362,9 @@ update-patches:
>   PATCH_LIST='${PATCH_LIST}' DIFF_ARGS='${DIFF_ARGS}' \
>   DISTORIG=${DISTORIG} PATCHORIG=${PATCHORIG} \
>   ${_PERLSCRIPT}/update-patches`; \
> - case $$toedit in "");; \
> - *) read i?'edit patches: '; \
> - cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit;; esac
> -
> -
> + if [ -n "$$toedit" -a "${EDIT_PATCHES:L}" != no ]; then \
> + cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; 
> \
> + fi
>  
>  .endif # IGNORECMD
>  
> Index: bsd.port.mk.5
> ===
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.481
> diff -u -p -r1.481 bsd.port.mk.5
> --- bsd.port.mk.5 29 May 2018 11:45:25 -  1.481
> +++ bsd.port.mk.5 10 Jun 2018 10:54:44 -
> @@ -743,27 +743,16 @@ See
>  .Cm lock .
>  .It Cm update-patches
>  Create or update patches for a port, using
> -.Xr update-patches 1 ,
> -which invokes
> -.Xr diff 1
> -between
> -.Pa file
> -and
> -.Pa file.orig ,
> -based on
> -.Pa file.orig
> -existence.
> -In order to generate a patch, the original file needs to be named
> -.Pa file.orig
> -and
> -.Pa file
> -edited.
> -After the target is invoked, the patches are placed under the
> -patches/ directory.
> -It moves existing patches from
> -.Pa patch-file
> -to
> -.Pa patch-file.orig .
> +.Xr update-patches 1 .
> +Unless
> +.Ev EDIT_PATCHES
> +is set to
> +.Sq \&No ,
> +changed files are opened using
> +.Ev VISUAL ,
> +.Ev EDITOR
> +or
> +.Xr vi 1 .
Too many details. That's just the standard way to invoke your editor.
Redundant with variable description.

See 
.Ev EDIT_PATCHES .

should be enough
>  .It Cm update
>  Update an existing installation to a newer package:
>  scan the installation for a package with the same
> @@ -1572,6 +1561,12 @@ to see
>  .Ev REORDER_DEPENDENCIES
>  actions.
>  Silent by default.
> +.It Ev EDIT_PATCHES
> +User settings.
> +If set to
> +.Sq \&No ,
> +.Cm update-patches
> +will not open changed files in an editor.
>  .It Ev EPOCH
>  Epoch number of the current package.
>  Defaults to empty (no need for numbering changes), then



Re: update-patches: replace useless prompt with user setting

2018-06-10 Thread Klemens Nanni
Updated diff marking EDIT_PATCHES with `Ev' and properly sorting it
between ECHO_REORDER and EPOCH.

Index: bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1414
diff -u -p -r1.1414 bsd.port.mk
--- bsd.port.mk 4 Jun 2018 06:14:56 -   1.1414
+++ bsd.port.mk 10 Jun 2018 10:02:13 -
@@ -2362,11 +2362,9 @@ update-patches:
PATCH_LIST='${PATCH_LIST}' DIFF_ARGS='${DIFF_ARGS}' \
DISTORIG=${DISTORIG} PATCHORIG=${PATCHORIG} \
${_PERLSCRIPT}/update-patches`; \
-   case $$toedit in "");; \
-   *) read i?'edit patches: '; \
-   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit;; esac
-
-
+   if [ -n "$$toedit" -a "${EDIT_PATCHES:L}" != no ]; then \
+   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; 
\
+   fi
 
 .endif # IGNORECMD
 
Index: bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.481
diff -u -p -r1.481 bsd.port.mk.5
--- bsd.port.mk.5   29 May 2018 11:45:25 -  1.481
+++ bsd.port.mk.5   10 Jun 2018 10:54:44 -
@@ -743,27 +743,16 @@ See
 .Cm lock .
 .It Cm update-patches
 Create or update patches for a port, using
-.Xr update-patches 1 ,
-which invokes
-.Xr diff 1
-between
-.Pa file
-and
-.Pa file.orig ,
-based on
-.Pa file.orig
-existence.
-In order to generate a patch, the original file needs to be named
-.Pa file.orig
-and
-.Pa file
-edited.
-After the target is invoked, the patches are placed under the
-patches/ directory.
-It moves existing patches from
-.Pa patch-file
-to
-.Pa patch-file.orig .
+.Xr update-patches 1 .
+Unless
+.Ev EDIT_PATCHES
+is set to
+.Sq \&No ,
+changed files are opened using
+.Ev VISUAL ,
+.Ev EDITOR
+or
+.Xr vi 1 .
 .It Cm update
 Update an existing installation to a newer package:
 scan the installation for a package with the same
@@ -1572,6 +1561,12 @@ to see
 .Ev REORDER_DEPENDENCIES
 actions.
 Silent by default.
+.It Ev EDIT_PATCHES
+User settings.
+If set to
+.Sq \&No ,
+.Cm update-patches
+will not open changed files in an editor.
 .It Ev EPOCH
 Epoch number of the current package.
 Defaults to empty (no need for numbering changes), then



update-patches: replace useless prompt with user setting

2018-06-10 Thread Klemens Nanni
Thinking about it again, I'd prefer no prompt at all. A simple user
setting `EDIT_PATCHES' that can be set to "No" does the job.

Here's a new diff introducing that knob.

While here, I dropped the redundant and too specific explanation about
patch files' names and endings. update-patches(1) already covers this
mentioning the respective variables.

Feedback? Objections? OK?

Index: bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1414
diff -u -p -r1.1414 bsd.port.mk
--- bsd.port.mk 4 Jun 2018 06:14:56 -   1.1414
+++ bsd.port.mk 10 Jun 2018 10:02:13 -
@@ -2362,11 +2362,9 @@ update-patches:
PATCH_LIST='${PATCH_LIST}' DIFF_ARGS='${DIFF_ARGS}' \
DISTORIG=${DISTORIG} PATCHORIG=${PATCHORIG} \
${_PERLSCRIPT}/update-patches`; \
-   case $$toedit in "");; \
-   *) read i?'edit patches: '; \
-   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit;; esac
-
-
+   if [ -n "$$toedit" -a "${EDIT_PATCHES:L}" != no ]; then \
+   cd ${PATCHDIR} && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; 
\
+   fi
 
 .endif # IGNORECMD
 
Index: bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.481
diff -u -p -r1.481 bsd.port.mk.5
--- bsd.port.mk.5   29 May 2018 11:45:25 -  1.481
+++ bsd.port.mk.5   10 Jun 2018 10:44:17 -
@@ -743,27 +743,16 @@ See
 .Cm lock .
 .It Cm update-patches
 Create or update patches for a port, using
-.Xr update-patches 1 ,
-which invokes
-.Xr diff 1
-between
-.Pa file
-and
-.Pa file.orig ,
-based on
-.Pa file.orig
-existence.
-In order to generate a patch, the original file needs to be named
-.Pa file.orig
-and
-.Pa file
-edited.
-After the target is invoked, the patches are placed under the
-patches/ directory.
-It moves existing patches from
-.Pa patch-file
-to
-.Pa patch-file.orig .
+.Xr update-patches 1 .
+Unless
+.Ev EDIT_PATCHES
+is set to
+.Sq \&No ,
+changed files are opened using
+.Ev VISUAL ,
+.Ev EDITOR
+or
+.Xr vi 1 .
 .It Cm update
 Update an existing installation to a newer package:
 scan the installation for a package with the same
@@ -1558,6 +1547,12 @@ Annotations for the Distributed Ports Bu
 See
 .Xr dpb 1
 for semantics.
+.It EDIT_PATCHES
+User settings.
+If set to
+.Sq \&No ,
+.Cm update-patches
+will not open changed files in an editor.
 .It Ev ECHO_MSG
 User settings.
 Used to display



Re: new: www/hugo

2018-06-10 Thread Solene Rapenne


fredl writes:

> Fixed WANTLIB. Thanks solene@ !
>
>

running update-plist shows that you forgot to remove this line in PLIST:

share/doc/pkg-readmes/${FULLPKGNAME}

except this, it's ok for me. I've been able to create a website with the
port, using the interactive view, creating a skeleton etc...



[NEW] devel/pycdc

2018-06-10 Thread Remi Pointel

Hi,

attached is pycdc: a python bytecode disassembler and decompiler.

--
$ pkg_info pycdc
Information for inst:pycdc-0.1

Comment:
python bytecode disassembler and decompiler

Description:
Decompyle++ aims to translate compiled Python byte-code back into valid and
human-readable Python source code.  it seeks to support byte-code from any
version of Python.  Decompyle++ includes both a byte-code disassembler 
(pycdas)

and a decompiler (pycdc).

Maintainer: Remi Pointel 

WWW: https://github.com/zrax/pycdc
--

Ok?

Cheers,

Remi.


pycdc.tar.gz
Description: application/gzip