Re: New devel/py-bencode.py

2020-01-06 Thread clematis
On Sat, Sep 21, 2019 at 11:49:33AM +0200, clematis wrote:
> On Sat, Sep 21, 2019 at 09:32:31AM +0200, Remi Pointel wrote:
> > https://marc.info/?l=openbsd-ports&m=156155203010486&w=2
> > 
> > If we do that, we must have a plaso compatible with this version.
> > I will send a diff to update all the dependencies of plaso (and plaso
> > itself), then we could update py-bencode.

Bonjour Remi,

Did you have a chance to look at the plaso dependencies? I was looking
on portroach but I don't know if you've started working on some locally.
Please let me know if I could help with this effort. There's quite a
few. We can agree on a bunch I will start working on and then you review
them.
 
Thanks,
-- 
clematis (0x7e96fd2400fe7b59)



Re: New devel/py-bencode.py

2019-09-21 Thread clematis
On Sat, Sep 21, 2019 at 09:32:31AM +0200, Remi Pointel wrote:
> https://marc.info/?l=openbsd-ports&m=156155203010486&w=2
> 
> If we do that, we must have a plaso compatible with this version.
> I will send a diff to update all the dependencies of plaso (and plaso
> itself), then we could update py-bencode.

Hi Remi,

Sounds good to me. Thank you.

I would just recommend to keep the py-bencode*.py* naming somwhere in
the description to prevent confusion and to facilitate the search.

Cheers,
-- 
clematis (0x7e96fd2400fe7b59)



Re: New devel/py-bencode.py

2019-09-21 Thread Remi Pointel

On 9/20/19 10:09 PM, clematis wrote:

Hi team,

bencode.py 2.1.0 is a simple bencode parser (for Python 2, Python 3 and
PyPy), forked from the bencode package (devel/py-bencode).

Build and install OK on amd64. Tests OK.
platform openbsd6 -- Python 3.7.4, pytest-4.4.0, py-1.8.0, pluggy-0.11.0
18 passed, 6 skipped
It is a requirement for Zeronet[0] which runs OK with it.

Comments? OK?

[0] https://github.com/HelloZeroNet/ZeroNet/blob/py3/requirements.txt



Hello,

I previously sent this port, you could read the context here:

https://marc.info/?l=openbsd-ports&m=156155203010486&w=2

If we do that, we must have a plaso compatible with this version.
I will send a diff to update all the dependencies of plaso (and plaso 
itself), then we could update py-bencode.


Cheers,

Remi.



New devel/py-bencode.py

2019-09-20 Thread clematis
Hi team,

bencode.py 2.1.0 is a simple bencode parser (for Python 2, Python 3 and
PyPy), forked from the bencode package (devel/py-bencode).

Build and install OK on amd64. Tests OK.
platform openbsd6 -- Python 3.7.4, pytest-4.4.0, py-1.8.0, pluggy-0.11.0
18 passed, 6 skipped
It is a requirement for Zeronet[0] which runs OK with it.

Comments? OK?

[0] https://github.com/HelloZeroNet/ZeroNet/blob/py3/requirements.txt
-- 
clematis (0x7e96fd2400fe7b59)


devel_py-bencode.py.tar.gz
Description: application/tar-gz


Re: [NEW] devel/py-bencode.py

2019-06-26 Thread Remi Pointel

On 6/26/19 9:53 PM, Kurt Mosiejczuk wrote:

On Wed, Jun 26, 2019 at 01:26:42PM +0100, Stuart Henderson wrote:

On 2019/06/25 22:49, Kurt Mosiejczuk wrote:



I'm wondering though if perhaps we should move the py-bencode port over
to this fork? The only consumer of the old py-bencode port is plaso, and
it is going to use the new port.



Anyone else have any feelings on it.



Yes I'd prefer that.


Did you like the diff to do so? Remi, thoughts?

(Included here again in an unmangled-by-reply state)


Hi,

good idea to replace py-bencode by this one.

ok rpointel@.

Thanks,

Remi.



Re: [NEW] devel/py-bencode.py

2019-06-26 Thread Stuart Henderson
On 2019/06/25 22:49, Kurt Mosiejczuk wrote:
> On Fri, May 24, 2019 at 07:34:02AM +0200, Remi Pointel wrote:
> 
> > attached is the port of bencode.py, needed by the update of plaso.
> 
> > I'm not sure of the pkgname: py-bencode.py or py-bencodepy?
> 
> > Ok?
> 
> In the time since you sent this port, there is an actual release on PyPI
> now, so it's probably better to just use that rather than all the GH
> macros.
> 
> I'm wondering though if perhaps we should move the py-bencode port over
> to this fork? The only consumer of the old py-bencode port is plaso, and
> it is going to use the new port.
> 
> Anyone else have any feelings on it.

Yes I'd prefer that.

> In either case, I'm attaching both a diff to update the old py-bencode
> port to use the new fork and an updated version of the new py-bencode.py
> port.
> 
> --Kurt

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/py-bencode/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile  22 Jan 2017 08:00:32 -  1.1.1.1
> +++ Makefile  26 Jun 2019 02:47:30 -
> @@ -2,24 +2,31 @@
>  
>  COMMENT =bencoding and bdecoding implementation
>  
> -MODPY_EGG_VERSION = 1.0
> -DISTNAME =   bencode-${MODPY_EGG_VERSION}
> -PKGNAME =py-${DISTNAME}
> +MODPY_EGG_VERSION =  2.1.0
> +DISTNAME =   bencode.py-${MODPY_EGG_VERSION}
> +PKGNAME =py-bencode-${MODPY_EGG_VERSION}
>  
>  CATEGORIES = devel
>  
> -HOMEPAGE =   https://pypi.python.org/pypi/bencode
> +HOMEPAGE =   https://github.com/fuzeman/bencode.py
>  
>  MAINTAINER = Remi Pointel 
>  
>  # BitTorrent Open Source License
>  # BTOSL http://www.bittorrent.com/license
> -PERMIT_PACKAGE_CDROM =   Yes
> +PERMIT_PACKAGE = Yes
>  
>  MODULES =lang/python
>  MODPY_PI =   Yes
>  MODPY_SETUPTOOLS =   Yes
>  
> -NO_TEST =Yes
> +FLAVORS =python3
> +FLAVOR ?=
> +
> +BUILD_DEPENDS =  devel/py-pbr${MODPY_FLAVOR}
> +TEST_DEPENDS =   devel/py-test${MODPY_FLAVOR}
> +
> +do-test:
> + cd ${WRKSRC} && py.test${MODPY_BIN_SUFFIX}
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/py-bencode/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  22 Jan 2017 08:00:32 -  1.1.1.1
> +++ distinfo  26 Jun 2019 02:47:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (bencode-1.0.tar.gz) = AwHCICIzo/J0yUBwK6x70C1dBTuL+VArCFFWJw4wvps=
> -SIZE (bencode-1.0.tar.gz) = 2385
> +SHA256 (bencode.py-2.1.0.tar.gz) = 
> fWWwLxdAl6RCorE4IIruf+EE0s5556KftFfQ4C84/D0=
> +SIZE (bencode.py-2.1.0.tar.gz) = 17076
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/py-bencode/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 22 Jan 2017 08:00:32 -  1.1.1.1
> +++ pkg/PLIST 26 Jun 2019 02:47:30 -
> @@ -1,12 +1,16 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2017/01/22 08:00:32 rpointel Exp $
>  lib/python${MODPY_VERSION}/site-packages/bencode/
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
> -lib/python${MODPY_VERSION}/site-packages/bencode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
> +lib/python${MODPY_VERSION}/site-packages/bencode.py-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
>  lib/python${MODPY_VERSION}/site-packages/bencode/BTL.py
> -lib/python${MODPY_VERSION}/site-packages/bencode/BTL.pyc
>  lib/python${MODPY_VERSION}/site-packages/bencode/__init__.py
> -lib/python${MODPY_VERSION}/site-packages/bencode/__init__.pyc
> +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/bencode/${MODPY_PYCACHE}/
> +lib/pyth

[NEW] devel/py-bencode.py

2019-05-23 Thread Remi Pointel

Hi,

attached is the port of bencode.py, needed by the update of plaso.

I'm not sure of the pkgname: py-bencode.py or py-bencodepy?

Ok?

Cheers,

Remi.


 Forwarded Message 
Subject: [UPDATE] plaso and all its dependencies
Date: Tue, 14 May 2019 20:07:13 +0200
From: Remi Pointel 
To: The OpenBSD ports mailing-list 

Hi,

attached is the diff to update plaso and all its dependencies.

2 new dependencies are needed:
- bencode.py: simple bencode parser
- libfsapfs: library and tools to access the Apple File System

While here, I enabled the python3 flavor for all libraries. The idea is 
to anticipate the switch to python3.
When we will sure that plaso work fine with python3, I will remove the 
python2 stuff.


Ok?

Cheers,

Remi.



py-bencode.py.tar.gz
Description: application/gzip