Re: git: a4c87a5576a9 - main - devel/py-libevdev: add new port

From: Charlie Li <vishwin_at_freebsd.org>
Date: Sun, 16 Feb 2025 22:36:56 UTC
Jan Beich wrote:
> The branch main has been updated by jbeich:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=a4c87a5576a9239c2615ff9f2aca8465f20d4e00
> 
> commit a4c87a5576a9239c2615ff9f2aca8465f20d4e00
> Author:     Жунёва Мария Михайловна <zhunyova@mts.ru>
> AuthorDate: 2024-05-28 18:38:14 +0000
> Commit:     Jan Beich <jbeich@FreeBSD.org>
> CommitDate: 2025-02-15 23:53:56 +0000
> 
>      devel/py-libevdev: add new port
>      
>      python-libevdev is a Python wrapper around the libevdev C library.
>      It provides a Pythonic API to read events from the Linux kernel’s input device
>      nodes and to read and/or modify the device’s state and capabilities.
>      
>      Sponsored by:   Serenity Cybersecurity, LLC
>      Closes: https://github.com/freebsd/freebsd-ports/pull/273
> ---
>   devel/Makefile              |  1 +
>   devel/py-libevdev/Makefile  | 19 +++++++++++++++++++
>   devel/py-libevdev/distinfo  |  3 +++
>   devel/py-libevdev/pkg-descr |  3 +++
>   4 files changed, 26 insertions(+)
> 
> diff --git a/devel/py-libevdev/Makefile b/devel/py-libevdev/Makefile
> new file mode 100644
> index 000000000000..d0e00226b29f
> --- /dev/null
> +++ b/devel/py-libevdev/Makefile
> @@ -0,0 +1,19 @@
> +PORTNAME=	libevdev
> +PORTVERSION=	0.11
> +CATEGORIES=	devel python
> +MASTER_SITES=	PYPI
> +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER=	awoonyaa@gmail.com
> +COMMENT=	Python wrapper around the libevdev C library
> +WWW=		https://pypi.org/project/libevdev/
> +
> +LICENSE=	MIT
> +LICENSE_FILE=	${WRKSRC}/COPYING
> +
> +USES=		python
> +USE_PYTHON=	autoplist distutils
> +
> +NO_ARCH=	yes
> +
> +.include <bsd.port.mk>
Needs LIB_DEPENDS on devel/libevdev. Also the project includes a pytest 
testing framework so USE_PYTHON=pytest should be added.

-- 
Charlie Li
...nope, still don't have an exit line.