Add the distributed test framework zopkio in our
portstree
Details
poudriere
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 3265 Build 3298: arc lint + arc unit
Event Timeline
Also, both pkg-message files seems to be empty, and should, so, be removed too.
| benchmarks/naarad/Makefile | ||
|---|---|---|
| 23 ↗ | (On Diff #14415) | That's the default, it's not needed. |
| benchmarks/zopkio/Makefile | ||
| 16–21 ↗ | (On Diff #14415) | Instead of setting WRKSRC, set GH_PROJECT to Zopkio. |
| 16–21 ↗ | (On Diff #14415) | Or better, set PORTNAME to Zopkio. |
| math/py-luminol/Makefile | ||
| 21 | default, please remove. | |
| benchmarks/zopkio/Makefile | ||
|---|---|---|
| 16–21 ↗ | (On Diff #14415) | The WRKSRC is necessary, because the GH_PROJECT overtake the value on PORTNAME, doesn't matter if I set the PORTNAME to Zopkio or zopkio, what is defined on GH_PROJECT will overtake on WRKSRC. So, WRKSRC is necessary! |
- Remove those pkg-message files that were empty. (Part of my template)
- Address @mat issues.
| benchmarks/zopkio/Makefile | ||
|---|---|---|
| 16–21 ↗ | (On Diff #14415) | No. If you set PORTNAME=Zopkio, you don't need to set GH_PROJECT, because it'll be ok, and then WRKSRC is not needed because it's already the right value. |
This all looks good, I think, though, that, as they are python ports, they should be named foo/py-bar, and have PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}
But I'll let someone from Python have a say on that.
I do believe it is not necessary, as an example www/zope213.
However, any feedback is always very welcome.
Best,
Both ports should be prefixed, there are very few candidates these days that don't need to be: https://wiki.freebsd.org/Python/PortsPolicy
- It's also preferable to use CHEESESHOP for DISTFILES (MASTER_SITES) unless there are compelling reasons (such as tests missing from PyPI source distribution (sdist)) to fetch sources from repositories. Both are available from PyPI
- Add LICENSE_FILE if one exists in WRKSRC
- If python ports provide console_scripts (scripts/commands in LOCALBASE/bin) use USE_PYTHON=concurrent to provide version-prefixed filenames for the chosen default Python version
Address @koobs suggestions, I opt to don't use CHEESESHOP as it seems
not follow correct the releases on github.
| benchmarks/py-naarad/Makefile | ||
|---|---|---|
| 8 | Missing PKGNAMEPREFIX = ${PYTHON_PKGNAMEPREFIX} | |
| benchmarks/py-zopkio/Makefile | ||
| 7 | Missing PKGNAMEPREFIX = ${PYTHON_PKGNAMEPREFIX} | |
| 20 | Setting/overriding WRKSRC shouldn't be necessary for ports using USE_GITHUB Preferably, use DISTNAME = Zopkio-${PORTVERSION} above, or GH_PROJECT = Zopkio, but the latter shouldn't be necessary with DISTNAME set as I believe GH_PROJECT defaults to DISTNAME | |
| math/py-luminol/Makefile | ||
| 8 | Missing PKGNAMEPREFIX = ${PYTHON_PKGNAMEPREFIX} | |
| benchmarks/py-zopkio/Makefile | ||
|---|---|---|
| 20 | For this case, the name of the port is zopkio, but the DISTNAME is Zopkio, I got few problems like the LICENSE_FILE, because the path doesn't match. I would prefer keep simple with WRKSRC. | |
| benchmarks/py-zopkio/Makefile | ||
|---|---|---|
| 20 | Please, use either Zopkio as the PORTNAME, or put GH_PROJECT=Zopkio, but don't set either DISTNAME or WRKSRC. | |
| benchmarks/py-naarad/Makefile | ||
|---|---|---|
| 27–28 | Like I said, these are not needed. | |
| benchmarks/py-naarad/Makefile | ||
|---|---|---|
| 27–28 | But gawk is not part of the default options like BASH. https://www.freebsd.org/doc/en/books/porters-handbook/uses-shebangfix.html | |
| benchmarks/py-naarad/Makefile | ||
|---|---|---|
| 27–28 | Yes, you are right, but I also am right, those lines are not needed, I'll update the porter's handbook. | |
| benchmarks/py-naarad/Makefile | ||
|---|---|---|
| 24 | You still need the SHEBANG_LANG line. Well, if you still have bad gawk shebangs, that is. | |
Accepted, with comment about lowercase(PORTNAME) preference
| benchmarks/py-zopkio/Makefile | ||
|---|---|---|
| 4 | Prefer lowercase(PORTNAME) but not 'strictly' necessary. | |
| benchmarks/py-zopkio/Makefile | ||
|---|---|---|
| 4 | PORTNAME should be the same as upstream, there is absolutely no mention of lowercase in the porter's handbook. | |