- Add net/py-pyenet

pyenet is a python wrapper for the ENet library by Lee Salzman,
http://enet.bespin.org

WWW: https://pypi.python.org/pypi/pyenet

PR:		221090
Submitted by:	freebsd@skinc.ru
This commit is contained in:
Dmitry Marakasov 2019-12-09 15:34:48 +00:00
parent c7a523f665
commit f480a259a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519620
5 changed files with 43 additions and 0 deletions

View file

@ -1077,6 +1077,7 @@
SUBDIR += py-pcapy
SUBDIR += py-port-for
SUBDIR += py-portend
SUBDIR += py-pyenet
SUBDIR += py-pygeoip
SUBDIR += py-pyicap
SUBDIR += py-pynmsg

24
net/py-pyenet/Makefile Normal file
View file

@ -0,0 +1,24 @@
# Created by: Ilia Skalozubov <freebsd@skinc.ru>
# $FreeBSD$
PORTNAME= pyenet
DISTVERSION= 1.3.13.post7
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd@skinc.ru
COMMENT= Python wrapper for the ENet library by Lee Salzman
LICENSE= BSD3CLAUSE MIT
LICENSE_COMB= multi
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
LICENSE_FILE_MIT= ${WRKSRC}/enet/LICENSE
USES= python
USE_PYTHON= autoplist cython distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/enet.so
.include <bsd.port.mk>

3
net/py-pyenet/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1574269594
SHA256 (pyenet-1.3.13.post7.tar.gz) = a36ed3ab9ddad25dc5416fa5223830f7f0ae628af986a4045def103057921ebf
SIZE (pyenet-1.3.13.post7.tar.gz) = 745118

View file

@ -0,0 +1,11 @@
--- README.rst.orig 2018-10-30 23:51:01 UTC
+++ README.rst
@@ -62,7 +62,7 @@ Packaging notes
(``python3 -m venv venv && source venv/bin/activate``)
- install the requirements: ``pip install -r dev-requirements.txt``
- build the source dist: ``python setup.py sdist``
-- make sure docker is installed and running and youre on a 64bit linux
+- make sure docker is installed and running and you're on a 64bit linux
machine
- build the binary dists: ``./scripts/build_packages.sh``
- upload to pypi: ``twine upload dist/* wheelhouse/pyenet*``

4
net/py-pyenet/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
pyenet is a python wrapper for the ENet library by Lee Salzman,
http://enet.bespin.org
WWW: https://pypi.python.org/pypi/pyenet