public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/phar-io-manifest/files/, dev-php/phar-io-manifest/
Date: Wed, 14 Feb 2018 17:36:28 +0000 (UTC)	[thread overview]
Message-ID: <1518629565.f9c3acec64afaf52017ecf10cb32ff064454b2b5.mjo@gentoo> (raw)

commit:     f9c3acec64afaf52017ecf10cb32ff064454b2b5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 17:18:06 2018 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 17:32:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c3acec

dev-php/phar-io-manifest: minor ebuild and autoloader cleanup.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-php/phar-io-manifest/files/autoload.php            |  4 ++--
 dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild | 15 +++++++--------
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-php/phar-io-manifest/files/autoload.php b/dev-php/phar-io-manifest/files/autoload.php
index 256ec39e5b8..f604d8b1f92 100644
--- a/dev-php/phar-io-manifest/files/autoload.php
+++ b/dev-php/phar-io-manifest/files/autoload.php
@@ -1,6 +1,6 @@
 <?php
-/* Autoloader for dev-php/phar-io-manifest */
-require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+
+require_once 'Fedora/Autoloader/autoload.php';
 
 \Fedora\Autoloader\Autoload::addClassMap(
    [

diff --git a/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild b/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild
index a9bec3adf3c..c70be9f4ebe 100644
--- a/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild
+++ b/dev-php/phar-io-manifest/phar-io-manifest-1.0.1.ebuild
@@ -3,26 +3,25 @@
 
 EAPI=6
 
-MY_PN="manifest"
-
-DESCRIPTION="Component for reading phar.io manifest information from a PHP Archive (PHAR)"
+DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)"
 HOMEPAGE="https://github.com/phar-io/manifest"
-SRC_URI="https://github.com/phar-io/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
+IUSE="examples"
 
-S="${WORKDIR}/${MY_PN}-${PV}"
+S="${WORKDIR}/manifest-${PV}"
 
 RDEPEND="dev-php/fedora-autoloader
-	>=dev-php/phar-io-version-1.0.1
-	>=dev-lang/php-5.6[phar]"
+	dev-php/phar-io-version
+	dev-lang/php:*[phar]"
 
 src_install() {
 	insinto /usr/share/php/PharIo/Manifest
 	doins -r src/*
 	doins "${FILESDIR}/autoload.php"
 	dodoc README.md
+	use examples && dodoc -r examples
 }


             reply	other threads:[~2018-02-14 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 17:36 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-14 17:36 [gentoo-commits] repo/gentoo:master commit in: dev-php/phar-io-manifest/files/, dev-php/phar-io-manifest/ Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518629565.f9c3acec64afaf52017ecf10cb32ff064454b2b5.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox