mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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:
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
|
@ -5158,6 +5158,7 @@
|
||||||
SUBDIR += py_static_check
|
SUBDIR += py_static_check
|
||||||
SUBDIR += pybind11
|
SUBDIR += pybind11
|
||||||
SUBDIR += pybugz
|
SUBDIR += pybugz
|
||||||
|
SUBDIR += pycanberra
|
||||||
SUBDIR += pycharm-ce
|
SUBDIR += pycharm-ce
|
||||||
SUBDIR += pychecker
|
SUBDIR += pychecker
|
||||||
SUBDIR += pycount
|
SUBDIR += pycount
|
||||||
|
|
27
devel/pycanberra/Makefile
Normal file
27
devel/pycanberra/Makefile
Normal 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>
|
3
devel/pycanberra/distinfo
Normal file
3
devel/pycanberra/distinfo
Normal 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
|
15
devel/pycanberra/files/patch-setup.py
Normal file
15
devel/pycanberra/files/patch-setup.py
Normal 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'],
|
||||||
|
+ )
|
5
devel/pycanberra/pkg-descr
Normal file
5
devel/pycanberra/pkg-descr
Normal 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
|
Loading…
Add table
Reference in a new issue