diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/syck | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/syck')
-rw-r--r-- | dev-libs/syck/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/syck/files/syck-0.55-64bit.patch | 41 | ||||
-rw-r--r-- | dev-libs/syck/metadata.xml | 7 | ||||
-rw-r--r-- | dev-libs/syck/syck-0.55-r4.ebuild | 58 | ||||
-rw-r--r-- | dev-libs/syck/syck-0.55-r6.ebuild | 55 |
5 files changed, 162 insertions, 0 deletions
diff --git a/dev-libs/syck/Manifest b/dev-libs/syck/Manifest new file mode 100644 index 000000000000..668019e9b607 --- /dev/null +++ b/dev-libs/syck/Manifest @@ -0,0 +1 @@ +DIST syck-0.55.tar.gz 354205 SHA256 ac881945c9dfe5dd6395a5db921e8256d1d359295bb66a1acbfe49fb637c1a3a SHA512 b2adc38e3e616f4eb5f5146baf0e8b385517e32e46ad872c9a451a680ea8c52fead00234286b6bc07fac9ad816d7ece8daf4a77a34c2999926c198de3b6ba1b7 WHIRLPOOL 946a0a372db6d1483a128a7daf2d8d6db74a2e0e7c82902b08faf5089ede6a8afad35cf307a126d9feeb3070561f3aa3b545a38c1f5e1a0f22b255943eec14bf diff --git a/dev-libs/syck/files/syck-0.55-64bit.patch b/dev-libs/syck/files/syck-0.55-64bit.patch new file mode 100644 index 000000000000..dc77ddb4c118 --- /dev/null +++ b/dev-libs/syck/files/syck-0.55-64bit.patch @@ -0,0 +1,41 @@ +--- ./lib/syck_st.c~ 2003-03-04 17:10:11.000000000 +0000 ++++ ./lib/syck_st.c 2007-06-04 15:00:22.000000000 +0100 +@@ -5,6 +5,7 @@ + #include "config.h" + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "syck_st.h" + + #ifdef NT +@@ -54,7 +55,6 @@ + numhash, + }; + +-extern int strcmp(); + static int strhash(); + static struct st_hash_type type_strhash = { + strcmp, +--- ./lib/syck.h~ 2005-04-13 07:27:54.000000000 +0100 ++++ ./lib/syck.h 2007-06-04 14:26:32.000000000 +0100 +@@ -17,6 +17,8 @@ + #define YAML_DOMAIN "yaml.org,2002" + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include <ctype.h> + #ifdef HAVE_ST_H + #include <st.h> +--- ./lib/emitter.c~ 2007-06-04 15:40:23.000000000 +0100 ++++ ./lib/emitter.c 2007-06-04 15:51:03.000000000 +0100 +@@ -378,7 +378,8 @@ + { + SYMID oid; + char *anchor_name = NULL; +- int indent = 0, x = 0; ++ int indent = 0; ++ long x = 0; + SyckLevel *lvl = syck_emitter_current_level( e ); + + /* Add new level */ diff --git a/dev-libs/syck/metadata.xml b/dev-libs/syck/metadata.xml new file mode 100644 index 000000000000..d9cd2cad66c2 --- /dev/null +++ b/dev-libs/syck/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-libs/syck/syck-0.55-r4.ebuild b/dev-libs/syck/syck-0.55-r4.ebuild new file mode 100644 index 000000000000..60f8a3c20e2d --- /dev/null +++ b/dev-libs/syck/syck-0.55-r4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils eutils flag-o-matic + +DESCRIPTION="Syck is an extension for reading and writing YAML swiftly in popular scripting languages" +HOMEPAGE="http://whytheluckystiff.net/syck/" +SRC_URI="http://rubyforge.org/frs/download.php/4492/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="php python" + +DEPEND="python? ( !dev-python/pysyck )" +RDEPEND="${DEPEND}" +PDEPEND="php? ( dev-php/pecl-syck + !=dev-libs/syck-0.55-r1 )" + +DISTUTILS_SETUP_FILES=("ext/python|setup.py") +PYTHON_MODNAME="yaml2xml.py ydump.py ypath.py" + +pkg_setup() { + use python && python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/syck-0.55-64bit.patch" +} + +src_configure() { + append-flags -fPIC + econf +} + +src_compile() { + emake + use python && distutils_src_compile +} + +src_install() { + einstall + use python && distutils_src_install +} + +pkg_postinst() { + use python && distutils_pkg_postinst +} + +pkg_postrm() { + use python && distutils_pkg_postrm +} diff --git a/dev-libs/syck/syck-0.55-r6.ebuild b/dev-libs/syck/syck-0.55-r6.ebuild new file mode 100644 index 000000000000..0a597e98c136 --- /dev/null +++ b/dev-libs/syck/syck-0.55-r6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Syck is an extension for reading and writing YAML swiftly in popular scripting languages" +HOMEPAGE="http://whytheluckystiff.net/syck/" +SRC_URI="http://rubyforge.org/frs/download.php/4492/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="php python" + +DEPEND="python? ( !dev-python/pysyck )" +RDEPEND="${DEPEND}" +PDEPEND="php? ( dev-php/pecl-syck + !=dev-libs/syck-0.55-r1 )" +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/syck-0.55-64bit.patch" +} + +src_configure() { + append-flags -fPIC + econf +} + +src_compile() { + emake + if use python; then + pushd ext/python > /dev/null + distutils-r1_src_compile + popd > /dev/null + fi +} + +src_install() { + emake DESTDIR=${D} install + if use python; then + pushd ext/python > /dev/null + distutils-r1_src_install + popd > /dev/null + fi + distutils-r1_python_install_all +} |