*/*: switch dependency from devel/py-lxml5 to devel/py-lxml Currently, there are two versions of python XML processing library which conflict each other in the ports tree, namely: - devel/py-lxml5 (now at version 5.4.0) - devel/py-lxml (now at version 6.0.1) To avoid the situation that some ports depend on py-lxml5 and some others do on py-lxml (by switching dependencies individually), this commit switches the dependencies from py-lxml5 to py-lxml at once. Additional note: There are still two ports (textproc/py-rdflib and www/py-draftjs-exporter) depending on py-lxml5 since they limit upper version to less than 6. PR: 289491 Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd, crees, madpilot, delphij, marcus, nivit, kai, skreuzer, fluffy, bofh, thierry, stephen, sunpoet, 0mp, Eric Camachat <eric@camachat.org>a6233e5a2f
Port details
devel/py-grab0.6.41_4
Site scraping framework
- Maintainer
- rm@FreeBSD.org
- Packages
- py312-grab 0.6.41_4
- Upstream
- Higher version available: 1.2.0
- CPE
- none, CVEs only via VuXML
- WWW
- http://grablib.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (38)
*/*: update dependency on devel/py-lxml to devel/py-lxml5 (2nd attempt) This is a follow up to the commit 230fb2661c78, which updated some ports' dependencies on devel/py-lxml to devel/py-lxml5. It was an attempt to follow the dependency change of www/py-beautifulsoup. However, the switch was incomplete and broke some other ports. It has turned out that the ports depending on devel/py-lxml (at version 4.9.3) does not limit their dependencies' upper bound to 4.x except for one (devel/py-pymaven-patch). So updating them to devel/py-lxml5 (at version 5.4.0) should cause no harm. This commit switch dependencies of all the ports (except devel/py-pymaven-patch) to devel/py-lxml5 avoid potential conflicts. Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org> PR: 287144, 288047 Reported by: makc (via ports-committers), vvd (PR 288047), diizzy (PR 287144) Approved by: portmgr (chase dependency change, unbreak build) Fixes: 230fb2661c78 (*/*: update dependency on devel/py-lxml to devel/py-lxml5)0b0f7cda9d
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
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>3d9a815d9c*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles 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)fb16dfecae
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)b7f05445c0
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
- Bump PORTREVISION. devel/py-defusedxml was updated962ad4df89
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
devel/py-grab: update to 0.6.41d6b3304885
Use PY_FLAVOR for dependencies. FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight4376dbbb58
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/D12464551be3c723devel/py-grab: update to 0.6.381104e847a1
devel/py-grab: update to 0.6.353ca862f07b
devel/py-grab: add missing dependencyacdaf15504
devel/py-grab: update to 0.6.340abc7d1dd4
devel/py-grab: update to 0.6.337ea389caa9
devel/py-grab: update to 0.6.325a6a58ac10
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6devel/py-grab: update to 0.6.3069fca33250
- Move ftp/py-curl to ftp/py-pycurl - Bump PORTREVISION for dependent ports4676ca5994
devel/py-grab: update to 0.6.29e30919a202
devel/py-grab: update to 0.6.226db3f80949
devel/py-grab: update to 0.6.21d572d383d7
devel/py-grab: update to 0.5.57107ba53ce
devel/py-grab: remove erroneously added dependency on py-sixa9b15f8fe5
devel/py-grab: update to 0.5.20ed19dfbd3
Update "BSD" license in devel category8c77e9671f
- Convert ports of devel/ to USES=python Approved by: portmgr (implicit)89e07f4a18
- do not use easy_install, convert to auto-generated packing list - move DIST_SUBDIR upper, where appropriate - add trailing slash to WWW url, where appropriate - bump PORTREVISION Wasn't able to identify clauses amount for some BSD licenses, so bear with me.bdc9d799c5
Python cleanup: - USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)50f8eaece1
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 3)580a778a16
- update to 0.4.13f8067f43dc
- update to 0.4.129ba7756b08
- update to 0.4.11f394b09369
Grab is site scraping framework. Grab could be used for: - website data mining - work with network API - automation of actions performed on websites WWW: http://grablib.org/b835f4891c