Created attachment 209438 [details] Shar file for ports-mgmt/upt/py-upt, ports-mgmt/upt/py-upt-pypi and ports-mgmt/upt/py-upt-freebsd Upt is a modular tool that makes it easy to automagically port a package from a language-specific package archive (such as PyPI or Rubygems) to an OS (such as FreeBSD or Fedora). It can be a replacement for pytoport. The attached shar file contains three ports: ports-mgmt/upt/py-upt: the core of upt; ports-mgmt/upt/py-upt-pypi: the PyPI frontend; ports-mgmt/upt/py-upt-freebsd: the FreeBSD backend.
Working with Cyril to bring this into the tree, assign accordingly
Thanks for the new ports Cyril Quick review: - Move ports to sysutils/py* - Change CATEGORIES to sysutils ports-mgmt python for the freebsd-ports related ports - Change CATEGORIES to sysutils python for the non-freebsd-ports related ports - Any port/package that installs console_scripts/scripts should be concurrent safe; use USE_PYTHON=concurrent to handle most things automatically
Created attachment 209467 [details] upt, upt-pypi, upt-freebsd
(In reply to Kubilay Kocak from comment #2) > - Move ports to sysutils/py* Done. > - Change CATEGORIES to sysutils ports-mgmt python for the freebsd-ports related ports Done. > - Change CATEGORIES to sysutils python for the non-freebsd-ports related ports Done. > - Any port/package that installs console_scripts/scripts should be concurrent safe; use USE_PYTHON=concurrent to handle most things automatically I used USE_PYTHON=concurrent for py-upt, since it installs a console_script. Is it also required for py-upt-pypi and py-upt-freebsd, which use entrypoints (but no console scripts)?
Portlint does not complain, and neither does poudriere after running # poudriere testport -j 12amd64 -p dev -c sysutils/py-upt
Thank you Cyril, looking to land this in the next ~24 hours
Thanks :) Is there anything else I should do with regards to this PR?
Created attachment 210167 [details] upt 0.11, upt-pypi 0.5, upt-freebsd 0.3
A commit references this bug: Author: koobs Date: Fri Dec 27 07:14:34 UTC 2019 New revision: 520970 URL: https://svnweb.freebsd.org/changeset/ports/520970 Log: [NEW PORTS] sysutils/py-upt{-pypi,-freebsd}: Universal Packaging Tool A unified CLI tool that converts a package from a language-specific package manager (such as PyPI or NPM) to an almost ready-to-use package for Free Unix-based operating systems (such as a GNU/Linux distribution or *BSD). This commit includes the PyPI frontend and FreeBSD (Ports) backend packages as sysutils/py-upt-pypi and sysutils/py-upt-freebsd, respectively. WWW: https://framagit.org/upt/upt PR: 242241 Submitted by: Cyril Roelandt <cyril.roelandt aquilenet fr> Changes: head/sysutils/Makefile head/sysutils/py-upt/ head/sysutils/py-upt/Makefile head/sysutils/py-upt/distinfo head/sysutils/py-upt/files/ head/sysutils/py-upt/files/patch-setup.cfg head/sysutils/py-upt/pkg-descr head/sysutils/py-upt-freebsd/ head/sysutils/py-upt-freebsd/Makefile head/sysutils/py-upt-freebsd/distinfo head/sysutils/py-upt-freebsd/pkg-descr head/sysutils/py-upt-pypi/ head/sysutils/py-upt-pypi/Makefile head/sysutils/py-upt-pypi/distinfo head/sysutils/py-upt-pypi/pkg-descr
Committed, with minor changes: - Set accurate USES=python:<version-spec> (3.6+) - Make pkg-descr slightly longer - Add test targets for QA - Patch setup.py to install man pages to prefix-less path (allowing USE_PYTHON=concurrent to work) Thank you for submitting new FreeBSD Ports Cyril!