mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-ruby/uuidtools: cleanup
Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST uuidtools-2.1.4.gem 25600 SHA256 439b6432ed2199490d133954e9c8bab273355d7653b9d2fd70259472a7850bf0 SHA512 e813cfcafd61493e4050b82d30c52aa7e3d0b1dde332181da49d6180f880604eff32ee656cfb6c5b92fa7c79dcc2b1c983690b8f35b19604dec393fa3da5ae09 WHIRLPOOL 3157432e97dd1d5adf42a433b77c4d86c9405771c12443f0910bd95300121c8321044dcdd3bbcab4b89fbf74d7fa316a23f531131431cf9cf7f801c0c5f4bd0c
|
||||
DIST uuidtools-2.1.5.gem 25600 SHA256 af6c85f2fca731cbf45ebc55b96bf5c94d0d46663dfc4a7d32f2db9c65c05b7e SHA512 c56e6329e48638bd5049d348beedec7fadb9ee7a133a5013ddd41ae98baa8213d8944903059729c9ca4f38b24d9b565b5653332685982337a4233f11d4865ac0 WHIRLPOOL 25e8839bbbaec0d9c4ff7a4f819731969d7ec78e71b591e81486bdb6cd8b443a560a97d04febc52444b564c73f2f1c0164ba30891e2164494ec5af584b3e486b
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple library to generate UUIDs"
|
||||
HOMEPAGE="https://github.com/sporkmonger/uuidtools"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple library to generate UUIDs"
|
||||
HOMEPAGE="https://github.com/sporkmonger/uuidtools"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid specs that require an actual network interface to get a MAC
|
||||
# address. We can't assume that a network interface is available.
|
||||
sed -e '/when obtaining a MAC address/,/^end/ s:^:#:' \
|
||||
-i spec/uuidtools/mac_address_spec.rb || die
|
||||
sed -e '/should correctly generate timestamp variant UUIDs/,/^ end/ s:^:#:' \
|
||||
-i spec/uuidtools/uuid_creation_spec.rb || die
|
||||
sed -e '/should not treat a timestamp version UUID as a random node UUID/,/^ end/ s:^:#:' \
|
||||
-i spec/uuidtools/uuid_parsing_spec.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user