svn commit: r520970 - in head/sysutils: . py-upt py-upt-freebsd py-upt-pypi py-upt/files
Kubilay Kocak
koobs at FreeBSD.org
Fri Dec 27 07:14:34 UTC 2019
Author: koobs
Date: Fri Dec 27 07:14:31 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>
Added:
head/sysutils/py-upt/
head/sysutils/py-upt-freebsd/
head/sysutils/py-upt-freebsd/Makefile (contents, props changed)
head/sysutils/py-upt-freebsd/distinfo (contents, props changed)
head/sysutils/py-upt-freebsd/pkg-descr (contents, props changed)
head/sysutils/py-upt-pypi/
head/sysutils/py-upt-pypi/Makefile (contents, props changed)
head/sysutils/py-upt-pypi/distinfo (contents, props changed)
head/sysutils/py-upt-pypi/pkg-descr (contents, props changed)
head/sysutils/py-upt/Makefile (contents, props changed)
head/sysutils/py-upt/distinfo (contents, props changed)
head/sysutils/py-upt/files/
head/sysutils/py-upt/files/patch-setup.cfg (contents, props changed)
head/sysutils/py-upt/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Dec 27 06:46:45 2019 (r520969)
+++ head/sysutils/Makefile Fri Dec 27 07:14:31 2019 (r520970)
@@ -1023,6 +1023,9 @@
SUBDIR += py-supervisor
SUBDIR += py-tarsnapper
SUBDIR += py-tmuxp
+ SUBDIR += py-upt
+ SUBDIR += py-upt-freebsd
+ SUBDIR += py-upt-pypi
SUBDIR += py-uptime
SUBDIR += py-zdaemon
SUBDIR += pydf
Added: head/sysutils/py-upt-freebsd/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-freebsd/Makefile Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= upt-freebsd
+DISTVERSION= 0.3
+CATEGORIES= sysutils ports-mgmt python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tipecaml at gmail.com
+COMMENT= FreeBSD backend for upt
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}upt>=0.4:sysutils/py-upt@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+TEST_ENV= PORTSDIR="/nonexistent"
+
+do-test:
+ @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest -v
+
+.include <bsd.port.mk>
Added: head/sysutils/py-upt-freebsd/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-freebsd/distinfo Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577071801
+SHA256 (upt-freebsd-0.3.tar.gz) = 0fd55ea5d9d9c83aa2507bb330dfb9c4d4a5e93aea54bd02453061bc9706fdf4
+SIZE (upt-freebsd-0.3.tar.gz) = 8830
Added: head/sysutils/py-upt-freebsd/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-freebsd/pkg-descr Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,5 @@
+Universal Packaging Tool: FreeBSD Ports backend
+
+This is a FreeBSD backend for upt.
+
+WWW: https://framagit.org/upt/upt-freebsd
Added: head/sysutils/py-upt-pypi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-pypi/Makefile Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= upt-pypi
+DISTVERSION= 0.5
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tipecaml at gmail.com
+COMMENT= PyPI frontend for upt
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}upt>=0.9:sysutils/py-upt@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest -v
+
+.include <bsd.port.mk>
Added: head/sysutils/py-upt-pypi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-pypi/distinfo Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574701220
+SHA256 (upt-pypi-0.5.tar.gz) = 6cfe91ab916ab190d4d6440b829c2c13d42855724f681c39483e98a506cd9c94
+SIZE (upt-pypi-0.5.tar.gz) = 12414
Added: head/sysutils/py-upt-pypi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt-pypi/pkg-descr Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,5 @@
+Universal Packaging Tool: PyPI frontend
+
+This is a PyPI frontend for upt.
+
+WWW: https://framagit.org/upt/upt-pypi
Added: head/sysutils/py-upt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt/Makefile Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= upt
+DISTVERSION= 0.11
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tipecaml at gmail.com
+COMMENT= Package software from any package manager to any distribution
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorlog>0:devel/py-colorlog@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spdx-lookup>0:misc/py-spdx-lookup@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils concurrent
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
+
+.include <bsd.port.mk>
Added: head/sysutils/py-upt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt/distinfo Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1577053933
+SHA256 (upt-0.11.tar.gz) = 65ef84ec7d8ba5f563bd6e2d522f055b80b143063f7cd96663bf8ad2c424df79
+SIZE (upt-0.11.tar.gz) = 29366
Added: head/sysutils/py-upt/files/patch-setup.cfg
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt/files/patch-setup.cfg Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,15 @@
+# Uses/python.py (concurrent) doesnt find
+# share/* stuff for concurrent processing
+# only ^man/man*
+
+--- setup.cfg.orig 2019-12-27 05:05:29 UTC
++++ setup.cfg
+@@ -42,7 +42,7 @@ backends =
+ upt-openbsd
+
+ [options.data_files]
+-share/man/man1 =
++man/man1 =
+ upt.1
+
+ [egg_info]
Added: head/sysutils/py-upt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-upt/pkg-descr Fri Dec 27 07:14:31 2019 (r520970)
@@ -0,0 +1,5 @@
+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).
+
+WWW: https://framagit.org/upt/upt
More information about the svn-ports-all
mailing list