--- /dev/null
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Define prefix-infix-suffix command combos"
+HOMEPAGE="https://magit.vc/manual/magit-popup"
+SRC_URI="https://github.com/magit/magit-popup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="*.texi"
+DOCS="README.md"
+
+CDEPEND=">=app-emacs/dash-2.13.0"
+DEPEND="${CDEPEND} sys-apps/texinfo"
+RDEPEND=$CDEPEND
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<longdescription>
+This package implements a generic interface for toggling switches
+and setting options and then invoking an Emacs command which does
+something with these arguments. The prototypical use is for the
+command to call an external process, passing on the arguments as
+command line arguments. But this is only one of many possible
+uses (though the one this library is optimized for).
+
+With the Emacs concept of "prefix arguments" in mind this could be
+described as "infix arguments with feedback in a buffer".
+
+Commands that set the prefix argument for the subsequent command do
+not limit what that next command could be. But entering a command
+console popup does limit the selection to the commands defined for
+that popup, and so we use the term "infix" instead of "prefix".
+</longdescription>
+<upstream>
+ <remote-id type="github">magit/magit-popup</remote-id>
+</upstream>
+</pkgmetadata>