summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-07 08:00:37 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-07 11:43:54 +0200
commit841d1d41fe3c0f50c9ed4e7c136a70ddd9b91f2f (patch)
treea87f779112e854683bed83a056fd2c96a08c122d /dev-ruby/activemodel-serializers-xml
parentnet-im/gitter-bin: change license, #615460 (diff)
downloadgentoo-841d1d41fe3c0f50c9ed4e7c136a70ddd9b91f2f.tar.gz
gentoo-841d1d41fe3c0f50c9ed4e7c136a70ddd9b91f2f.tar.bz2
gentoo-841d1d41fe3c0f50c9ed4e7c136a70ddd9b91f2f.zip
dev-ruby/activemodel-serializers-xml: initial import of 1.0.1
New dependency for dev-ruby/activeresource Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/activemodel-serializers-xml')
-rw-r--r--dev-ruby/activemodel-serializers-xml/Manifest1
-rw-r--r--dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.1.ebuild37
-rw-r--r--dev-ruby/activemodel-serializers-xml/metadata.xml11
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/activemodel-serializers-xml/Manifest b/dev-ruby/activemodel-serializers-xml/Manifest
new file mode 100644
index 000000000000..fff8eef0d4a0
--- /dev/null
+++ b/dev-ruby/activemodel-serializers-xml/Manifest
@@ -0,0 +1 @@
+DIST activemodel-serializers-xml-1.0.1.tgz 23338 SHA256 b3af3ced66f80498112177653dad29425554c9a52fd3e95354b2308bc3f1c46f SHA512 cc6f5c80f577fbcc0b61866eea8e588c7930b09dbadf603442e3c6b661bbf7e5b6fb427ec15dfe8fbd6e8ea952e84332150cfc65fbe9a3c7fe7cbec98fe3acc1 WHIRLPOOL 7e77840cf2667bb357c4677aa9bc6dfee8c82e92f7a7df3ae5801b5fb83e5996fa9f18b50087b678d318b2f6444fb75284c1d329306c5c756154a322181bfcbe
diff --git a/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.1.ebuild b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.1.ebuild
new file mode 100644
index 000000000000..588d19b4e6c7
--- /dev/null
+++ b/dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="XML serialization for your Active Model objects and Active Record models"
+HOMEPAGE="http://github.com/rails/activemodel-serializers-xml"
+SRC_URI="https://github.com/rails/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ =dev-ruby/activesupport-5*:*
+ =dev-ruby/activemodel-5*:*
+ =dev-ruby/activerecord-5*:*
+ =dev-ruby/builder-3*:* >=dev-ruby/builder-3.1:*
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/sqlite3
+)"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/activemodel-serializers-xml/metadata.xml b/dev-ruby/activemodel-serializers-xml/metadata.xml
new file mode 100644
index 000000000000..c885b47fa345
--- /dev/null
+++ b/dev-ruby/activemodel-serializers-xml/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rails/activemodel-serializers-xml</remote-id>
+ </upstream>
+</pkgmetadata>