forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ruby/activemodel-serializers-xml: add 1.0.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST activemodel-serializers-xml-1.0.1.tgz 23338 SHA256 b3af3ced66f80498112177653dad29425554c9a52fd3e95354b2308bc3f1c46f SHA512 cc6f5c80f577fbcc0b61866eea8e588c7930b09dbadf603442e3c6b661bbf7e5b6fb427ec15dfe8fbd6e8ea952e84332150cfc65fbe9a3c7fe7cbec98fe3acc1 WHIRLPOOL 7e77840cf2667bb357c4677aa9bc6dfee8c82e92f7a7df3ae5801b5fb83e5996fa9f18b50087b678d318b2f6444fb75284c1d329306c5c756154a322181bfcbe | ||
DIST activemodel-serializers-xml-1.0.2.tgz 23321 SHA256 8de567b44afb019186e32f5030e8e39f7b1562a9593a3fd79eea08168a701123 SHA512 888db4822f9ed4fd17ba93f2e03e4edc204bc14f62e3622949140a3497f56ad7cd7d49cd7f38fbf557098ceed9f2f1334093fd8493ccc82e56be15f6bf138af9 WHIRLPOOL 8ca3bb06c7282c00ed190af66542b20a150c9c47b2441a55898b5c453d1f8fcf9044f9eadb0ce79755ae599ed07e6e6134fd5d6d75cfc84cfdccc3b99baa9ecf |
37 changes: 37 additions & 0 deletions
37
dev-ruby/activemodel-serializers-xml/activemodel-serializers-xml-1.0.2.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ruby24" | ||
|
||
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="https://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/builder-3*:* >=dev-ruby/builder-3.1:* | ||
" | ||
|
||
ruby_add_bdepend "test? ( | ||
=dev-ruby/activerecord-5*:* | ||
dev-ruby/sqlite3 | ||
)" | ||
|
||
all_ruby_prepare() { | ||
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die | ||
} |