Commit 4ccf9321 authored by sunpoet's avatar sunpoet
Browse files

Add py-opencensus-context 0.1.2

The OpenCensus Runtime Context provides in-process context propagation.

WWW: https://github.com/census-instrumentation/opencensus-python/tree/master/context/opencensus-context
parent 061b8bad
...@@ -4693,6 +4693,7 @@ ...@@ -4693,6 +4693,7 @@
SUBDIR += py-openapi-codec SUBDIR += py-openapi-codec
SUBDIR += py-openapi-spec-validator SUBDIR += py-openapi-spec-validator
SUBDIR += py-opencensus SUBDIR += py-opencensus
SUBDIR += py-opencensus-context
SUBDIR += py-opendht SUBDIR += py-opendht
SUBDIR += py-opengrok-tools SUBDIR += py-opengrok-tools
SUBDIR += py-openstacksdk SUBDIR += py-openstacksdk
......
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= opencensus-context
PORTVERSION= 0.1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= OpenCensus Runtime Context
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
USES= dos2unix python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${RM} ${WRKSRC}/opencensus/__init__.py
.include <bsd.port.mk>
TIMESTAMP = 1613738741
SHA256 (opencensus-context-0.1.2.tar.gz) = 8cf64ce901e6b35f491bd1521e6541676e034c52d00c95500e9364600f835c06
SIZE (opencensus-context-0.1.2.tar.gz) = 3889
--- setup.py.orig 2020-06-28 18:25:42 UTC
+++ setup.py
@@ -14,11 +14,9 @@
from setuptools import find_packages, setup
-from version import __version__
-
setup(
name='opencensus-context',
- version=__version__, # noqa
+ use_scm_version=True,
author='OpenCensus Authors',
author_email='census-developers@googlegroups.com',
classifiers=[
The OpenCensus Runtime Context provides in-process context propagation.
WWW: https://github.com/census-instrumentation/opencensus-python/tree/master/context/opencensus-context
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment