[NEW] devel/py-intervaltree

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[NEW] devel/py-intervaltree

Remi Pointel
Hi,

attached is the port of intervaltree, a dependency of floss.

Ok?

--------------------------
$ pkg_info py-intervaltree
Information for inst:py-intervaltree-2.1.0

Comment:
editable interval tree data structure for Python 2 and 3

Required by:
py-viv_utils-0.3.9

Description:
A mutable, self-balancing interval tree for Python 2 and 3. Queries may
be by
point, by range overlap, or by range envelopment.  This library was
designed to
allow tagging text and time intervals, where the intervals include the
lower
bound but not the upper bound.

Maintainer: The OpenBSD ports mailing-list <[hidden email]>

WWW: https://github.com/chaimleib/intervaltree
--------------------------

Cheers,

Remi.

py-intervaltree-2.1.0.tar.gz (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [NEW] devel/py-intervaltree

Ljuba Nedeljkovic
Builds and installs on amd64, current, but `make test` fails with:

===>  Regression tests for py-intervaltree-2.1.0
Version: 2.1.0
Reading README.rst
running test
running egg_info
writing requirements to intervaltree.egg-info/requires.txt
writing intervaltree.egg-info/PKG-INFO
writing top-level names to intervaltree.egg-info/top_level.txt
writing dependency_links to intervaltree.egg-info/dependency_links.txt
reading manifest file 'intervaltree.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'intervaltree.egg-info/SOURCES.txt'
running build_ext
============================= test session starts =======================
platform openbsd6 -- Python 2.7.14, pytest-3.1.2, py-1.4.34, pluggy-0.4.0
rootdir: /usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0, inifile: setup.cfg
collected 2 items / 3 errors

==================================== ERRORS =============================
________________ ERROR collecting lib/intervaltree/interval.py __________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('intervaltree.interval', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/interval.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/interval.py'))
______________ ERROR collecting lib/intervaltree/intervaltree.py ________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('intervaltree.intervaltree', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/intervaltree.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/intervaltree.py'))
__________________ ERROR collecting lib/intervaltree/node.py ____________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('intervaltree.node', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/node.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/node.py'))
=============================== warnings summary ========================
None
  [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!
===================== 1 warnings, 3 error in 0.31 seconds ===============
*** Error 2 in . (/usr/ports/lang/python/python.port.mk:197 'do-test': @cd /usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0 && /usr/...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2771 '/usr/ports/pobj/py-intervaltree-2.1.0/.test_done')
*** Error 1 in /usr/ports/mystuff/devel/py-intervaltree (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'test')

I did not test functioanlity of installed port and cannot tell if those
failing tests are show stoppers.

Cheers,
-ljuba

On 07.03, Remi Pointel wrote:

> Hi,
>
> attached is the port of intervaltree, a dependency of floss.
>
> Ok?
>
> --------------------------
> $ pkg_info py-intervaltree
> Information for inst:py-intervaltree-2.1.0
>
> Comment:
> editable interval tree data structure for Python 2 and 3
>
> Required by:
> py-viv_utils-0.3.9
>
> Description:
> A mutable, self-balancing interval tree for Python 2 and 3. Queries may
> be by
> point, by range overlap, or by range envelopment.  This library was
> designed to
> allow tagging text and time intervals, where the intervals include the
> lower
> bound but not the upper bound.
>
> Maintainer: The OpenBSD ports mailing-list <[hidden email]>
>
> WWW: https://github.com/chaimleib/intervaltree
> --------------------------
>
> Cheers,
>
> Remi.


Reply | Threaded
Open this post in threaded view
|

Re: [NEW] devel/py-intervaltree

Remi Pointel

Le Mercredi, Mars 14, 2018 00:11 CET, Ljuba Nedeljkovic <[hidden email]> a écrit:
 Builds and installs on amd64, current, but `make test` fails with:

===> Regression tests for py-intervaltree-2.1.0
Version: 2.1.0
Reading README.rst
running test
running egg_info
writing requirements to intervaltree.egg-info/requires.txt
writing intervaltree.egg-info/PKG-INFO
writing top-level names to intervaltree.egg-info/top_level.txt
writing dependency_links to intervaltree.egg-info/dependency_links.txt
reading manifest file 'intervaltree.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'intervaltree.egg-info/SOURCES.txt'
running build_ext
============================= test session starts =======================
platform openbsd6 -- Python 2.7.14, pytest-3.1.2, py-1.4.34, pluggy-0.4.0
rootdir: /usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0, inifile: setup.cfg
collected 2 items / 3 errors

==================================== ERRORS =============================
________________ ERROR collecting lib/intervaltree/interval.py __________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
raise self.ImportMismatchError(modname, modfile, self)
E ImportMismatchError: ('intervaltree.interval', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/interval.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/interval.py'))
______________ ERROR collecting lib/intervaltree/intervaltree.py ________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
raise self.ImportMismatchError(modname, modfile, self)
E ImportMismatchError: ('intervaltree.intervaltree', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/intervaltree.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/intervaltree.py'))
__________________ ERROR collecting lib/intervaltree/node.py ____________
/usr/local/lib/python2.7/site-packages/py/_path/local.py:680: in pyimport
raise self.ImportMismatchError(modname, modfile, self)
E ImportMismatchError: ('intervaltree.node', '/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/intervaltree/node.py', local('/usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0/lib/intervaltree/node.py'))
=============================== warnings summary ========================
None
[pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!
===================== 1 warnings, 3 error in 0.31 seconds ===============
*** Error 2 in . (/usr/ports/lang/python/python.port.mk:197 'do-test': @cd /usr/ports/pobj/py-intervaltree-2.1.0/intervaltree-2.1.0 && /usr/...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2771 '/usr/ports/pobj/py-intervaltree-2.1.0/.test_done')
*** Error 1 in /usr/ports/mystuff/devel/py-intervaltree (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'test')

I did not test functioanlity of installed port and cannot tell if those
failing tests are show stoppers.

Cheers,
-ljubaHi,

thank you for your feedback.

The regress tests failed because the "test" directory is missing.

I have changed the Makefile to explain.

Ok?

Cheers,

Remi.

py-intervaltree-2.1.0.tar.gz (1K) Download Attachment