commit:     afa173f6c1df18f783eb1aaf50ad7165805673d7
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 18:43:37 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 18:43:37 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=afa173f6

dev-lisp/alexandria: New snapshot ebuild

 .../alexandria/alexandria-0.1_p20100411.ebuild     | 22 -----------
 ...dria-9999.ebuild => alexandria-20171029.ebuild} | 10 ++++-
 ...dria-9999.ebuild => alexandria-99999999.ebuild} |  0
 dev-lisp/alexandria/metadata.xml                   | 44 ++++++++++++++++++++++
 4 files changed, 52 insertions(+), 24 deletions(-)

diff --git a/dev-lisp/alexandria/alexandria-0.1_p20100411.ebuild 
b/dev-lisp/alexandria/alexandria-0.1_p20100411.ebuild
deleted file mode 100644
index e2ac1459..00000000
--- a/dev-lisp/alexandria/alexandria-0.1_p20100411.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit common-lisp-3 eutils
-
-DESCRIPTION="A collection of public domain utilities."
-HOMEPAGE="http://common-lisp.net/project/alexandria/";
-SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2
-               doc? ( 
http://common-lisp.net/project/alexandria/draft/alexandria.pdf )"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc"
-
-src_install() {
-       common-lisp-3_src_install
-       if use doc ; then
-               dodoc "${DISTDIR}"/alexandria.pdf
-       fi
-}

diff --git a/dev-lisp/alexandria/alexandria-9999.ebuild 
b/dev-lisp/alexandria/alexandria-20171029.ebuild
similarity index 72%
copy from dev-lisp/alexandria/alexandria-9999.ebuild
copy to dev-lisp/alexandria/alexandria-20171029.ebuild
index 960fcb00..c5656e8f 100644
--- a/dev-lisp/alexandria/alexandria-9999.ebuild
+++ b/dev-lisp/alexandria/alexandria-20171029.ebuild
@@ -3,11 +3,17 @@
 
 EAPI=6
 
-inherit common-lisp-3 git-r3 eutils
+inherit common-lisp-3 eutils
 
 DESCRIPTION="A collection of public domain utilities."
 HOMEPAGE="http://common-lisp.net/project/alexandria/";
-EGIT_REPO_URI="https://gitlab.common-lisp.net/alexandria/alexandria.git";
+if [[ ${PV} == 9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://gitlab.common-lisp.net/alexandria/alexandria.git";
+else
+       SRC_URI="mirror://gentoo/${P}.tar.bz2"
+       KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+fi
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-lisp/alexandria/alexandria-9999.ebuild 
b/dev-lisp/alexandria/alexandria-99999999.ebuild
similarity index 100%
rename from dev-lisp/alexandria/alexandria-9999.ebuild
rename to dev-lisp/alexandria/alexandria-99999999.ebuild

diff --git a/dev-lisp/alexandria/metadata.xml b/dev-lisp/alexandria/metadata.xml
new file mode 100644
index 00000000..937bb817
--- /dev/null
+++ b/dev-lisp/alexandria/metadata.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>common-l...@gentoo.org</email>
+    <name>Gentoo Common Lisp Project</name>
+  </maintainer>
+    <longdescription lang="en">
+    Alexandria is a project and a library.
+
+    As a project Alexandria's goal is to reduce duplication of effort and
+    improve portability of Common Lisp code according to its own
+    idiosyncratic and rather conservative aesthetic. What this actually
+    means is open to debate, but each project member has a veto on all
+    project activities, so a degree of conservativism is inevitable.
+
+    As a library Alexandria is one of the means by which the project
+    strives for its goals. Alexandria is a collection of portable public
+    domain utilities that meet the following constraints:
+
+    * Utilities, not extensions: Alexandria will not contain conceptual
+      extensions to Common Lisp, instead limiting itself to tools and
+      utilities that fit well within the framework of standard ANSI Common
+      Lisp. Test-frameworks, system definitions, logging facilities,
+      serialization layers, etc. are all outside the scope of Alexandria
+      as a library, though well within the scope of Alexandria as a project.
+    * Conservative: Alexandria limits itself to what project members
+      consider conservative utilities. Alexandria does not and will not
+      include anaphoric constructs, loop-like binding macros, etc.
+    * Portable: Alexandria limits itself to portable parts of Common
+      Lisp. Even apparently conservative and usefull functions remain
+      outside the scope of Alexandria if they cannot be implemented
+      portably. Portability is here defined as portable within a
+      conforming implementation: implementation bugs are not considered
+      portability issues.
+    * Team player: Alexandria will not (initially, at least) subsume
+      or provide functionality for which good-quality special-purpose
+      packages exist, like split-sequence. Instead, third party packages
+      such as that may be "blessed".
+    </longdescription>
+    <upstream>
+        <remote-id type="gitlab">alexandria/alexandria</remote-id>
+    </upstream>
+</pkgmetadata>

Reply via email to