aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/py-ciscoconfparse
Commit message (Collapse)AuthorAgeFilesLines
* net-mgmt/py-ciscoconfparse: Update to 1.9.28Kai Knoblich2023-11-112-4/+6
| | | | | | Changelog since 1.9.16: https://github.com/mpenning/ciscoconfparse/compare/1.9.16...1.9.28
* net-mgmt/py-ciscoconfparse: Update to 1.9.16Kai Knoblich2023-10-314-475/+40
| | | | | | | | | | | | * Switch to PEP517 build framework. * Convert to USE_PYTHON=pytest to simplify Makefile. * Remove no longer required patch for newer releases of setuptools. Changelog since 1.5.51: https://github.com/mpenning/ciscoconfparse/compare/v1.5.51...1.9.16
* all: remove explicit versions in USES=python for "3.x+"Rene Ladan2023-06-271-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* */*: rename CHEESESHOP to PYPI in MASTER_SITESDmitry Marakasov2023-01-111-1/+1
| | | | | | PR: 267994 Differential revision: D37518 Approved by: bapt
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f 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)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* net-mgmt/py-ciscoconfparse: Fix build with setuptools 58.0.0+Po-Chuan Hsieh2022-03-071-0/+461
| | | | With hat: python
* net-mgmt/py-ciscoconfparse: Update to 1.5.51Kai Knoblich2021-11-032-5/+7
| | | | | | | | | | | * Limit the Python version to 3.7+ due devel/py-loguru, which requires Python 3.7+ as well. Changelog since 1.5.30: https://github.com/mpenning/ciscoconfparse/compare/v1.5.30...v1.5.51 MFH: No (contains mostly feature additions)
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* net-mgmt/py-ciscoconfparse: Update to 1.5.30Kai Knoblich2021-03-242-4/+4
| | | | | | | | | | Changelog: * Add helper-function: "as_text_list()", improve performance of ".delete()" * Fix "__int__()" and "__index__()" on "IPv4Obj()" and "IPv6Obj()" Notes: svn path=/head/; revision=569122
* net-mgmt/py-ciscoconfparse: Update to 1.5.28Kai Knoblich2021-01-252-10/+6
| | | | | | | | | | | | | | Changelog since 1.5.24: * Enhance "ccp_util.CiscoRange()" to parse a wider variety of string inputs * Remove slow code from "ccp_util.CiscoRange()" * Make "ccp_util.L4Object().__repr__()" more friendly * Use "unittest.mock" for tests if available * Fix the issue with the "L4Object_asa_{lt01,lt02,range}" tests * Fix multiple unreported bugs in "ccp_util.L4Object()" Notes: svn path=/head/; revision=562569
* net-mgmt/py-ciscoconfparse: Update to 1.5.24Kai Knoblich2021-01-112-15/+5
| | | | | | | | | | | | * Remove now obsolete conditionals for Python 2.7 while I'm here. Changelog: * Prevent "find_object_branches()" method from using any branches with "None" in the value. Notes: svn path=/head/; revision=561210
* Drop python 2.7 support from a few portsAntoine Brodin2020-12-281-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=559531
* net-mgmt/py-ciscoconfparse: Update to 1.5.22Kai Knoblich2020-12-092-4/+4
| | | | | | | | | | Changelog since 1.5.20: * Avoid overwrite of standard function "input" in "parse_line_braces()" * Fix references to non-existent "IOSConfigLine" Notes: svn path=/head/; revision=557368
* net-mgmt/py-ciscoconfparse: Update to 1.15.20Kai Knoblich2020-11-302-4/+4
| | | | | | | | | Changelog: * Add warnings for unsupported features in conjunction with JunOS. Notes: svn path=/head/; revision=556635
* net-mgmt/py-ciscoconfparse: Update to 1.5.19Kai Knoblich2020-11-202-4/+4
| | | | | | | | | | | | | Changelog since 1.5.6: * Fix "IPv4Obj" and "IPv6Obj" which cannot use logical compare ops with certain Python objects. * Fix Python 2.7 packaging. * Revise some methods of "IPv4Obj" and "IPv6Obj" which impacts the sorting behavior. Notes: svn path=/head/; revision=555750
* net-mgmt/py-ciscoconfparse: Update to 1.5.6Kai Knoblich2020-07-142-4/+4
| | | | | | | | | | Changelog since 1.5.4: * Improve "find_object_branches()" speed; reformat with black * Beta-test new function: "find_object_branches()" Notes: svn path=/head/; revision=542197
* net-mgmt/py-ciscoconfparse: Update to 1.5.4Kai Knoblich2020-05-152-4/+4
| | | | | | | | | | | | | | | | Changelog since 1.5.1: * Introduction of new methods to the IPv4Obj()/IPv6Obj() classes and changed return values of those. * Add support for int(), bin() and hex() on the IPv4Obj() and IPv6Obj() classes. * Fix "packed" and "exploded" methods of IPv6Obj(), add "IPv4Obj().packed" and "IPv4Obj().exploded" Notes: svn path=/head/; revision=535273
* net-mgmt/py-ciscoconfparse: Update to 1.5.1Kai Knoblich2020-03-302-4/+4
| | | | | | | | | | Changelog since 1.4.11: * Remove embedded JunOS debugging * Complete rewrite of JunOS parser and deprecate support for Python 3.4 Notes: svn path=/head/; revision=529896
* net-mgmt/py-ciscoconfparse: Update to 1.4.11Kai Knoblich2019-12-112-4/+4
| | | | | | | | | | | Changelog: * Explicitly close() open filehandles MFH: 2019Q4 Notes: svn path=/head/; revision=519831
* net-mgmt/py-ciscoconfparse: Update to 1.4.10Kai Knoblich2019-12-062-4/+4
| | | | | | | | | | | | Changelog since 1.4.7: * Add support for parsing "pathlib.Path" objects which contain a configuration * Add ".as_cidr_net" and ".as_cidr_addr" on "IPv4Obj" and "IPv6Obj" * Add support for name and track on IPv6 routes Notes: svn path=/head/; revision=519150
* net-mgmt/py-ciscoconfparse: Update to 1.4.7Kai Knoblich2019-09-122-4/+4
| | | | | | | | | | Changelog since 1.4.5: * Add support for NXOS "vrf" with "dhcp helper-address" * Add support for NXOS "dhcp-helper-address" (with factory=True) Notes: svn path=/head/; revision=511872
* net-mgmt/py-ciscoconfparse: Update to 1.4.5Kai Knoblich2019-09-082-4/+4
| | | | | | | | | | | Changelog since 1.4.3: * Add support for NXOS in "find_interface_objects()" method * Fix "append_line()" function when parsing ASA configurations * Fix broken regular expressions in "has_ip_pim()" methods Notes: svn path=/head/; revision=511563
* net-mgmt/py-ciscoconfparse: Update to 1.4.3Kai Knoblich2019-08-243-7/+34
| | | | | | | | | | | | | | | * Add "do-test" target to make future QA easier Changelog since 1.3.43: * Add parser for various NXOS features * Fix issue with "ip_helper_adddresses" function that wasn't able to handle 'global' helpers * Implement "re_search_children()" directly on the "CiscoConfParse()" object * Fix NXOS HRSP issue with "has_ip_hsrp" function Notes: svn path=/head/; revision=509756
* net-mgmt/py-ciscoconfparse: Update to 1.3.43Kai Knoblich2019-07-152-4/+4
| | | | | | | | | | Changelog: * Fix possible syntax error "from __future__ imports must occur at the beginning of the file" in some build environments. Notes: svn path=/head/; revision=506653
* net-mgmt/py-ciscoconfparse: Update to 1.3.42Kai Knoblich2019-06-292-4/+4
| | | | | | | | | | Changelog since 1.3.39: * HRSP timers now return a float (used to return int). * NXOS support for HSRP. Notes: svn path=/head/; revision=505360
* net-mgmt/py-ciscoconfparse: Update to 1.3.39Kai Knoblich2019-06-062-4/+4
| | | | | | | | | | Changelog since 1.3.37: * Allow re_match_iter_typed() to use default=True * Add CiscoConfParse().re_match_iter_typed() Notes: svn path=/head/; revision=503565
* net-mgmt/py-ciscoconfparse: Update to 1.3.37Kai Knoblich2019-05-182-4/+4
| | | | | | | | | | Changelog: * Further improve support for Python 3 when using in virtual environments in conjunction with pip. Notes: svn path=/head/; revision=501962
* net-mgmt/py-ciscoconfparse: Update to 1.3.36Kai Knoblich2019-04-262-4/+4
| | | | | | | | | | | | | Changes since 1.3.33: * Refine JunOS parsing * Refine IOS macro parsing * Add support for IOS macros Approved by: mentors (implicit) Notes: svn path=/head/; revision=500173
* net-mgmt/py-ciscoconfparse: Update to 1.3.33Kai Knoblich2019-04-102-4/+4
| | | | | | | | | | | | Changelog: * Fix bug with parse.delete_lines() where only every second sequential match was deleted. Approved by: mentors (implicit) Notes: svn path=/head/; revision=498534
* net-mgmt/py-ciscoconfparse: Update to 1.3.32Kai Knoblich2019-03-252-4/+4
| | | | | | | | | | | | | | | | | Changelog: * Fix CiscoRange() should automatically prune duplicates added to the list * Fix ciscoconfparse.ccp_util.CiscoRange() should support emtpy ranges * Fix ciscoconfparse.models_cisco needs an explicit MAX_VLAN constant * Fix IOSCfgLine().re_match_typed() doesn't have an 'untyped_default' boolean * Fix trunk_vlans_allowed returns only two lines Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19684 Notes: svn path=/head/; revision=496829
* net-mgmt/py-ciscoconfparse: Update to 1.3.30Kai Knoblich2019-02-242-4/+4
| | | | | | | | | | | | | | Changelog: * Fix unicode cast to be compatible with Python 3 * Fix collections import in Python 3 * Fix bug exposed in Python 3.7 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D19313 Notes: svn path=/head/; revision=493813
* net-mgmt/py-ciscoconfparse: Update to 1.3.29Kai Knoblich2019-02-082-4/+5
| | | | | | | | | | | | | | Notable changes since 1.3.20: * Fix open() syntax with Python 3.5 * Add IP helper-address parsing in models_cisco.py Reviewed by: tcberner (mentor) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D19121 Notes: svn path=/head/; revision=492443
* Change my maintainer email address to my new one at the FreeBSD project.Kai Knoblich2019-02-011-1/+1
| | | | | | | | | Reviewed by: miwi (mentor) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19050 Notes: svn path=/head/; revision=491837
* - Update to 1.3.20Martin Wilke2018-07-092-4/+4
| | | | | | | | | PR: 228844 Submitted by: maintainer Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=474278
* net-mgmt/py-ciscoconfparse: Update to 1.3.15Danilo G. Baio2018-04-262-4/+4
| | | | | | | | PR: 227690 Submitted by: Kai Knoblich <freebsd_ports@k-worx.org> (maintainer) Notes: svn path=/head/; revision=468314
* Update to 1.3.12Kirill Ponomarev2018-04-172-4/+4
| | | | | | | | PR: 227575 Submitted by: maintainer Notes: svn path=/head/; revision=467601
* net-mgmt/py-ciscoconfparse: Update to 1.3.11Danilo G. Baio2018-04-022-8/+15
| | | | | | | | | | | | Dependency devel/py-ipaddr is only necessary with Python 2. While here, update LICENSE. PR: 227162 Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) Notes: svn path=/head/; revision=466194
* New port: net-mgmt/py-ciscoconfparse: Parse, audit, query, build and modify ↵Yuri Victorovich2018-03-253-0/+51
Cisco IOS-style configurations PR: 226901 Submitted by: Kai <freebsd_ports@k-worx.org> Notes: svn path=/head/; revision=465496