devel/py-characteristic
characteristic: Python attributes without boilerplate. characteristic is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols. Version 14.3.0 ok sthen
This commit is contained in:
parent
6085723ea7
commit
26cdb2438c
30
devel/py-characteristic/Makefile
Normal file
30
devel/py-characteristic/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2019/12/02 22:40:38 kmos Exp $
|
||||
|
||||
COMMENT = python attributes without boilerplate
|
||||
|
||||
MODPY_EGG_VERSION = 14.3.0
|
||||
DISTNAME = characteristic-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-characteristic-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://characteristic.readthedocs.org/
|
||||
|
||||
MAINTAINER = Kurt Mosiejczuk <kurt@cranky.work>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
MODPY_PYTEST_ARGS = lib/
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
TEST_DEPENDS = devel/py-test-xdist${MODPY_FLAVOR}
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-characteristic/distinfo
Normal file
2
devel/py-characteristic/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (characteristic-14.3.0.tar.gz) = 3taNTkJBFe1E5cg8KpAaC2FXqVkHnXWR2SEG/9Oto4A=
|
||||
SIZE (characteristic-14.3.0.tar.gz) = 26993
|
13
devel/py-characteristic/patches/patch-setup_cfg
Normal file
13
devel/py-characteristic/patches/patch-setup_cfg
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-setup_cfg,v 1.1.1.1 2019/12/02 22:40:38 kmos Exp $
|
||||
|
||||
Newer setuptools requires tools:pytest
|
||||
|
||||
Index: setup.cfg
|
||||
--- setup.cfg.orig
|
||||
+++ setup.cfg
|
||||
@@ -1,4 +1,4 @@
|
||||
-[pytest]
|
||||
+[tools:pytest]
|
||||
minversion = 2.6
|
||||
strict = true
|
||||
norecursedirs = .* build dist test_data *.egg
|
5
devel/py-characteristic/pkg/DESCR
Normal file
5
devel/py-characteristic/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
characteristic: Python attributes without boilerplate.
|
||||
|
||||
characteristic is an MIT-licensed Python package with class decorators
|
||||
that ease the chores of implementing the most common attribute-related
|
||||
object protocols.
|
10
devel/py-characteristic/pkg/PLIST
Normal file
10
devel/py-characteristic/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/02 22:40:38 kmos Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}characteristic.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}test_characteristic.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/characteristic.py
|
||||
lib/python${MODPY_VERSION}/site-packages/test_characteristic.py
|
Loading…
Reference in New Issue
Block a user