Commit b24f2be5 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/unit-python: Remove expired port

2025-12-31 www/unit-python: Upstream repo archived on Oct 8 2025
parent a77b985a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4952,3 +4952,4 @@ devel/libunit||2025-12-31|Has expired: Upstream repo archived on Oct 8 2025
x11-fonts/powerline-fonts|x11-fonts/nerd-fonts|2025-12-31|Has expired: Use x11-fonts/nerd-fonts instead
math/rapid||2025-12-31|Has expired: unfetchable
security/tls-check||2025-12-31|Has expired: Obsolete tool and relies on deprecated libraries
www/unit-python||2025-12-31|Has expired: Upstream repo archived on Oct 8 2025
+0 −1
Original line number Diff line number Diff line
@@ -2649,7 +2649,6 @@
    SUBDIR += unit-java
    SUBDIR += unit-perl
    SUBDIR += unit-php
    SUBDIR += unit-python
    SUBDIR += unit-ruby
    SUBDIR += unit-wasm
    SUBDIR += unitc

www/unit-python/Makefile

deleted100644 → 0
+0 −34
Original line number Diff line number Diff line
PKGNAMESUFFIX=	-${UNIT_MODNAME}

UNIT_MODNAME=	python${PYTHON_SUFFIX}

COMMENT=	Python module for NGINX Unit

USES=		python:3.10-3.11 gettext-runtime
USE_PYTHON=	flavors

PLIST_FILES=	libexec/unit/modules/${UNIT_MODNAME}.unit.so

RUN_DEPENDS=	unitd:www/unit

USE_RC_SUBR?=	# reset to empty

MASTERDIR=	${.CURDIR}/../unit

post-configure:
	cd ${CONFIGURE_WRKSRC} && \
	${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} python \
		--module=${UNIT_MODNAME} \
		--config=${PYTHON_CMD}-config

do-build:
	cd ${CONFIGURE_WRKSRC} && \
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
			${MAKEFILE} ${MAKE_ARGS} ${UNIT_MODNAME}

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
	${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
		${STAGEDIR}${PREFIX}/libexec/unit/modules/

.include "${MASTERDIR}/Makefile"