On 2019/06/06 15:38, Daniel Jakots wrote:
> On Thu, 6 Jun 2019 21:06:16 +0200, Klemens Nanni <k...@openbsd.org> wrote:
> 
> > Simple update required for another port I'm working on, which is happy
> > with this version.
> > 
> > Other than that, regress continues to pass on amd64 but it did not
> > test any other consumer:
> > 
> >     $ show-reverse-deps devel/py-decorator | wc -l
> >         7482
> 
> haha
> 
> > Does anyone want to throw this into a bulk?
> 
> Honestly I don't think a bulk is needed for such a port, I don't know
> why s-r-d says that. Your call.

probably need to strip down the sql query and split it into pieces to
figure out all of "why" in this case, but note s-r-d includes test
dependencies, and it acts recursively. I *think* it will list a port
if some port in its dependency chain has the port you're searching
for as a TEST_DEPENDS.

generally I think s-r-d is more useful for "how much trouble might
i be in if i break this" rather than "what do i need to test".

sqlite> select distinct fullpkgpath from depends where dependspath like 
'devel/py-decorator%';
databases/py-sqlalchemy-migrate
databases/py-sqlalchemy-migrate,python3
devel/ipython
devel/ipython,python3
devel/py-addons
devel/py-bytecodeassembler
devel/py-peak-rules
devel/py-protocols
devel/py-traitlets
devel/py-traitlets,python3
www/py-httpbin
www/py-httpbin,python3
www/py-mastodon.py
www/py-mastodon.py,python3
www/py-pylons

or,

$ ls -l /usr/ports/INDEX
lrwxr-xr-x  1 sthen  _pbuild  28 Nov 20  2018 /usr/ports/INDEX -> 
/usr/local/share/ports-INDEX

$ grep -w devel/py-decorator /usr/ports/INDEX | cut -d'|' -f2
databases/py-sqlalchemy-migrate
databases/py-sqlalchemy-migrate,python3
devel/ipython
devel/ipython,python3
devel/py-decorator
devel/py-decorator,python3
devel/py-traitlets
devel/py-traitlets,python3
www/py-httpbin
www/py-httpbin,python3
www/py-mastodon.py
www/py-mastodon.py,python3
www/py-pylons

you can write that to a file and feed it to SUBDIRLIST:

$ grep -w devel/py-decorator /usr/ports/INDEX | cut -d'|' -f2 > 
/tmp/plist.decorator
$ cd /usr/ports; make SUBDIRLIST=/tmp/plist.decorator package

etc.

Reply via email to