summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-14 02:14:09 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-14 02:14:09 +0000
commit02e1ad06d5fcb51598a87c4eb4d2e9736e70c8f9 (patch)
treed9fd20b3898598350d3654f000021d7e4c5609d2 /dev-ruby/afm
parentVersion bump (diff)
downloadgentoo-2-02e1ad06d5fcb51598a87c4eb4d2e9736e70c8f9.tar.gz
gentoo-2-02e1ad06d5fcb51598a87c4eb4d2e9736e70c8f9.tar.bz2
gentoo-2-02e1ad06d5fcb51598a87c4eb4d2e9736e70c8f9.zip
Initial version.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/afm')
-rw-r--r--dev-ruby/afm/ChangeLog9
-rw-r--r--dev-ruby/afm/afm-0.2.0_p20130408.ebuild33
-rw-r--r--dev-ruby/afm/metadata.xml5
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/afm/ChangeLog b/dev-ruby/afm/ChangeLog
new file mode 100644
index 000000000000..f60b1d25165a
--- /dev/null
+++ b/dev-ruby/afm/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/afm
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/afm/ChangeLog,v 1.1 2013/11/14 02:14:09 mrueg Exp $
+
+*afm-0.2.0_p20130408 (14 Nov 2013)
+
+ 14 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +afm-0.2.0_p20130408.ebuild,
+ +metadata.xml:
+ Initial version.
diff --git a/dev-ruby/afm/afm-0.2.0_p20130408.ebuild b/dev-ruby/afm/afm-0.2.0_p20130408.ebuild
new file mode 100644
index 000000000000..c6ad6e1222e2
--- /dev/null
+++ b/dev-ruby/afm/afm-0.2.0_p20130408.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/afm/afm-0.2.0_p20130408.ebuild,v 1.1 2013/11/14 02:14:09 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A very simple library to read Adobe Font Metrics files"
+HOMEPAGE="https://github.com/halfbyte/afm"
+COMMIT_ID="6765e6e7002efbdc92bc5eb6c7fee4bd25729081"
+SRC_URI="https://github.com/halfbyte/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RUBY_S=${PN}-${COMMIT_ID}
+
+ruby_add_bdepend "test? ( dev-ruby/shoulda )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -Itest test/test_afm.rb || die
+}
diff --git a/dev-ruby/afm/metadata.xml b/dev-ruby/afm/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/afm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>