18 Commits

Author SHA1 Message Date
Po-Chuan Hsieh af810d9993 comms/py-hidapi: Convert to USE_PYTHON=pytest
Approved by:	portmgr (blanket)
With hat:	python
2024-03-09 23:21:12 +08:00
Ruslan Makhmatkhanov 03236bf4cd comms/py-hidapi: Update to 0.14.0
Update to 0.14.0
- Use Github over PYPI to obtain documentation source
- Use Sphinx to build HTML, and manual page documentation
- Switch to PEP517 build
- Add testing framework
- Update LICENSE block

PR:		276412
Submitted by:	Alastair Hogge <agh@riseup.net>
2024-01-18 13:07:09 +03:00
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00
Emanuel Haupt 24582f3551 */*: Drop maintainership 2022-10-17 14:02:09 +02:00
Stefan Eßer fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner 258a98847e comms: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  'Big Bad Bob' Frazier <bobf@mrp3.com>
  *  <mr@freebsd.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Dolgov <fox@furry.spb.ru>
  *  Andrey Lykhin <lan31@inbox.ru>
  *  Anton Voronin <anton@urc.ac.ru>
  *  Brandon S. Allbery KF8NH <allbery@ece.cmu.edu>
  *  Brian Dean <bsd@FreeBSD.org>
  *  Bruce Cran <bruce@cran.org.uk>
  *  Carl Makin <carl@stagecraft.cx>
  *  Darren <igla@batterybackups.net>
  *  David
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  David Thiel <lx@redundancy.redundancy.org>
  *  Denis Shaposhnikov <dsh@vlink.ru>
  *  Devon H. O'Dell <devon.odell@coyotepoint.com>
  *  Diane Bruce <db@db.net>
  *  Douglas K. Rand <rand@meridian-enviro.com>
  *  Edward Tomasz Napierala <trasz@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Felix Palmen <felix@palmen-it.de>
  *  Frank Steinborn <steinex@nognu.de>
  *  Ganael Laplanche <ganael.laplanche@martymac.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Janos.Mohacsi@bsd.hu
  *  Jean-Baptiste Quenot <jb.quenot@caraldi.com>
  *  Jeffrey Baitis <jeff@baitis.net>
  *  Johan Strom <johan@stromnet.se>
  *  Johan Strom <johna@stromnet.se>
  *  Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
  *  Julian Stacey <jhs@FreeBSD.org>
  *  Kirill Bezzubets <kirill@solaris.ru>
  *  MITA Yoshio <mita@FreeBSD.org>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Masafumi NAKANE <max@FreeBSD.org>
  *  Matt Dawson <matt@mattsnetwork.co.uk>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Reifenberger (mike@Reifenberger.com)
  *  Mike Heffner <mikeh@FreeBSD.org>
  *  Nick Sayer <nsayer@FreeBSD.org>
  *  Nicole Reid <root@cooltrainer.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Patrick Gardella <patrick@FreeBSD.org>
  *  Paul Traina <pst@FreeBSD.org>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Rick Elrod <codeblock@eighthbit.net>
  *  Rodrigo Osorio <rodrigo@FreeBSD.org>
  *  Sebastian Yepes <esn@x123.info>
  *  Staffan Ulfberg <staffanu@multivac.fatburen.org>
  *  Stephen Hurd <shurd@FreeBSD.org>
  *  Steve Woodford <scw@netbsd.hut.fi>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Sunry Chen <sunrychen@gmail.com>
  *  Søren Straarup <xride@x12.dk>
  *  Tony Shadwick <tshadwick@oss-solutions.com>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  Vladimir Grebenschikov
  *  Vladimir Kondratyev <wulf@FreeBSD.org>
  *  db
  *  dirkx@webweaving.org
  *  dom@happygiraffe.net
  *  elbarto@ArcadeBSD.org
  *  hm
  *  jmz
  *  joes@seaport.net
  *  lambert@lambertfam.org
  *  nox@FreeBSD.org
  *  obrien@cs.ucdavis.edu
  *  rkw
  *  shurd
  *  shurd@FreeBSD.org
  *  wlloyd@slap.net
  * //www.tomek.cedro.info)

With hat:	portmgr
2022-07-20 16:21:01 +02:00
Emanuel Haupt 01f82dc73f comms/py-hidapi: Update to 0.11.0.p2 2021-10-22 20:14:45 +02:00
Mathieu Arnold 305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tijl Coosemans b8491948a5 The libusb project has adopted hidapi. Update to their latest release,
0.10.1.  Bump py-hidapi so it gets rebuilt to use new functions.
Hand over to maintainer of py-hidapi so the two can be maintained together.

Reported by:	Corey Stephan (marquette.edu)
Tested by:	ehaupt
2021-03-17 10:01:26 +00:00
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Emanuel Haupt b236579b73 Update to 0.10.1 and sort USE_PYTHON 2020-12-25 09:45:27 +00:00
Kai Knoblich 9cb5898561 Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
2020-12-24 13:46:01 +00:00
Emanuel Haupt b063281a0c Update to 0.9.0 2020-02-11 17:05:05 +00:00
Dmitry Marakasov c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +00:00
Mathieu Arnold 551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Emanuel Haupt 584f3238f8 Add py-hidapi 0.7.99, cython interface to comms/hidapi. 2017-10-11 22:34:31 +00:00