mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
create bsd12 branch
This commit is contained in:
34
python/py-yaml/Makefile
Normal file
34
python/py-yaml/Makefile
Normal file
@@ -0,0 +1,34 @@
|
||||
# Created by: ijliao@FreeBSD.org
|
||||
# $FreeBSD: head/devel/py-yaml/Makefile 474268 2018-07-09 15:21:31Z jpaetzel $
|
||||
|
||||
PORTNAME= yaml
|
||||
PORTVERSION= 3.13
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= PyYAML-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jpaetzel@FreeBSD.org
|
||||
COMMENT= Python YAML parser
|
||||
|
||||
LIBYAML_DESC= Use textproc/libyaml for faster parsing
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PYDISTUTILS_SETUP+= --with-libyaml
|
||||
PYDISTUTILS_BUILD_TARGET= build_ext
|
||||
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include
|
||||
PYDISTUTILS_BUILDARGS+= --library-dirs=${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= libyaml.so:text/libyaml
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_yaml.so
|
||||
|
||||
#PYDISTUTILS_SETUP+= --without-libyaml
|
||||
#NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
3
python/py-yaml/distinfo
Normal file
3
python/py-yaml/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1531148322
|
||||
SHA256 (PyYAML-3.13.tar.gz) = 3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf
|
||||
SIZE (PyYAML-3.13.tar.gz) = 270607
|
||||
16
python/py-yaml/pkg-descr
Normal file
16
python/py-yaml/pkg-descr
Normal file
@@ -0,0 +1,16 @@
|
||||
PyYAML is a YAML parser and emitter for the Python programming language.
|
||||
|
||||
PyYAML features :
|
||||
* a complete YAML 1.1 parser. In particular, PyYAML can parse all examples
|
||||
from the specification. The parsing algorithm is simple enough to be a
|
||||
reference for YAML parser implementors.
|
||||
* Unicode support including UTF-8/UTF-16 input/output and \u escape
|
||||
sequences.
|
||||
* low-level event-based parser and emitter API (like SAX).
|
||||
* high-level API for serializing and deserializing native Python objects
|
||||
(like DOM or pickle).
|
||||
* support for all types from the YAML types repository. A simple extension
|
||||
API is provided.
|
||||
* relatively sensible error messages.
|
||||
|
||||
WWW: http://pyyaml.org
|
||||
Reference in New Issue
Block a user