On Sun, 28 Jun 2020 at 20:50:56 +0100, Stuart Henderson wrote: > On 2020/06/28 20:48, Paco Esteban wrote: > > Hi ports@, > > > > This is a new port for ephemetoot: https://github.com/hughrun/ephemetoot > > > > Ephemetoot is a command line tool for selectively deleting old Mastodon > > toots from one or more Mastodon accounts. > > > > I had to play a bit with the GH_* variables and DISTNAME as the only > > availabe distfile source is the github automatically generated tarballs. > > I also set up DIST_SUBDIR to avoid file collisions. > > > > It all works correctly but not sure is the correct way to do it. > > > > Cheers, > > It's easier if you stick closer to the defaults for GH_*, diff below. > I regenerated plist too, I'm not sure why yours didn't have __init__.py? > > diff b4f9cb237fc8e39009a2e71cd79ff3562c19cebd /usr/ports/mystuff > blob - e0e37d2c675a817fb19b3f908165b4dcfed97f2b > file + www/ephemetoot/Makefile > --- www/ephemetoot/Makefile > +++ www/ephemetoot/Makefile > @@ -3,22 +3,18 @@ > COMMENT = tool for deleting old Mastodon toots > > MODPY_EGG_VERSION = 2.3.1 > -GH_TAGNAME = v${MODPY_EGG_VERSION} > GH_ACCOUNT = hughrun > GH_PROJECT = ephemetoot > +GH_TAGNAME = v${MODPY_EGG_VERSION} > > -DISTNAME = ${GH_TAGNAME} > PKGNAME = py-ephemetoot-${MODPY_EGG_VERSION} > > CATEGORIES = www > > -HOMEPAGE = https://github.com/hughrun/ephemetoot/ > MAINTAINER = Paco Esteban <p...@openbsd.org> > > # GPLv3+ > PERMIT_PACKAGE = Yes > - > -DIST_SUBDIR = ephemetoot > > MODULES = lang/python > MODPY_SETUPTOOLS = Yes > blob - 07bdb60e88cfa636615afd532b1b8ec29de8bf2c > file + www/ephemetoot/distinfo > --- www/ephemetoot/distinfo > +++ www/ephemetoot/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (ephemetoot/v2.3.1.tar.gz) = > XbI6iSEvMKDin65oypwk14WRKq6Rf88VBk35a8j2SC8= > -SIZE (ephemetoot/v2.3.1.tar.gz) = 21461 > +SHA256 (ephemetoot-2.3.1.tar.gz) = > XbI6iSEvMKDin65oypwk14WRKq6Rf88VBk35a8j2SC8= > +SIZE (ephemetoot-2.3.1.tar.gz) = 21461 > blob - 58a960c96092e9ff5522476e9b93eb3909053e7b > file + www/ephemetoot/pkg/PLIST > --- www/ephemetoot/pkg/PLIST > +++ www/ephemetoot/pkg/PLIST > @@ -1,5 +1,7 @@ > @comment $OpenBSD: PLIST,v$ > bin/ephemetoot > +lib/python${MODPY_VERSION}/site-packages/__init__.py > +lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc > > lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}ephemetoot.${MODPY_PYC_MAGIC_TAG}pyc > > lib/python${MODPY_VERSION}/site-packages/ephemetoot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ > > lib/python${MODPY_VERSION}/site-packages/ephemetoot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO > @@ -10,10 +12,14 @@ lib/python${MODPY_VERSION}/site-packages/ephemetoot-${ > > lib/python${MODPY_VERSION}/site-packages/ephemetoot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt > lib/python${MODPY_VERSION}/site-packages/ephemetoot.py > lib/python${MODPY_VERSION}/site-packages/lib/ > +lib/python${MODPY_VERSION}/site-packages/lib/__init__.py > > ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/lib/${MODPY_PYCACHE}/ > +lib/python${MODPY_VERSION}/site-packages/lib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc > > lib/python${MODPY_VERSION}/site-packages/lib/${MODPY_PYCACHE}ephemetoot.${MODPY_PYC_MAGIC_TAG}pyc > lib/python${MODPY_VERSION}/site-packages/lib/ephemetoot.py > lib/python${MODPY_VERSION}/site-packages/lib/lib/ > +lib/python${MODPY_VERSION}/site-packages/lib/lib/__init__.py > > ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/lib/lib/${MODPY_PYCACHE}/ > +lib/python${MODPY_VERSION}/site-packages/lib/lib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc > > lib/python${MODPY_VERSION}/site-packages/lib/lib/${MODPY_PYCACHE}ephemetoot.${MODPY_PYC_MAGIC_TAG}pyc > lib/python${MODPY_VERSION}/site-packages/lib/lib/ephemetoot.py >
This looks fines for me and it works! Thanks! -- - gonzalo