New port: devel/pycanberra

A very basic wrapper for libcanberra.

Ensure all strings passed to libcanberra are byte strings.

WWW: https://github.com/totdb/pycanberra

PR:		223565
Submitted by:	owen94012@gmail.com
This commit is contained in:
Kurt Jaeger 2017-11-24 18:31:18 +00:00
parent e0e4900baf
commit a6c914fd42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454830
5 changed files with 51 additions and 0 deletions

View file

@ -5158,6 +5158,7 @@
SUBDIR += py_static_check
SUBDIR += pybind11
SUBDIR += pybugz
SUBDIR += pycanberra
SUBDIR += pycharm-ce
SUBDIR += pychecker
SUBDIR += pycount

27
devel/pycanberra/Makefile Normal file
View file

@ -0,0 +1,27 @@
# Created by: blubee <hello@blubee.me>
# $FreeBSD$
PORTNAME= pycanberra
# PORTVERSION= 1
DISTVERSION= 1
CATEGORIES= devel
MAINTAINER= hello@blubee.me
COMMENT= Very basic wrapper for libcanberra
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= totdb
GH_TAGNAME= 88c53cd
post-patch:
@(cd ${WRKSRC} && ${MKDIR} ${WRKSRC}/pycanberra && \
${MV} pycanberra.py ${WRKSRC}/pycanbberra && \
${TOUCH} __init__.py)
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1510208419
SHA256 (totdb-pycanberra-1-88c53cd_GH0.tar.gz) = 2f2a0e3c830de47a89e9daf4636746a9c7f03029f69caa789d6f94662c9f5bc2
SIZE (totdb-pycanberra-1-88c53cd_GH0.tar.gz) = 14162

View file

@ -0,0 +1,15 @@
--- setup.py.orig 2017-11-09 11:09:27 UTC
+++ setup.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup(name='pycanberra',
+ version='1.0',
+ description='A very basic (and incomplete) wrapper for libcanberra',
+ author='totdb',
+ author_email='gward@python.net',
+ url='https://github.com/totdb/pycanberra',
+ packages=['pycanberra'],
+ )

View file

@ -0,0 +1,5 @@
A very basic wrapper for libcanberra.
Ensure all strings passed to libcanberra are byte strings.
WWW: https://github.com/totdb/pycanberra