]> jturnerusa.dev Git - ebuilds/commitdiff
app-emacs/pyvenv: initial import
authorJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 3 Nov 2021 17:54:22 +0000 (13:54 -0400)
committerJohn Turner <jturner.usa+gentoo@gmail.com>
Wed, 3 Nov 2021 17:54:22 +0000 (13:54 -0400)
app-emacs/pyvenv/Manifest [new file with mode: 0644]
app-emacs/pyvenv/files/50pyvenv-gentoo.el [new file with mode: 0644]
app-emacs/pyvenv/pyvenv-1.21.ebuild [new file with mode: 0644]

diff --git a/app-emacs/pyvenv/Manifest b/app-emacs/pyvenv/Manifest
new file mode 100644 (file)
index 0000000..9a2e912
--- /dev/null
@@ -0,0 +1 @@
+DIST pyvenv-1.21.tar.gz 9187 BLAKE2B 59d3eee5f0c3da44c48d6fad8fc6803e6080e54696dd5071d05a716916a2f469f0b6c812bae68eb5f1ab4a99cefae7d7128fe7a0bb2a9ccce68cdc710e02632e SHA512 5b9bf67c2882a6a4b6ff8ec2c2485a21085882c66a265f3eb3ff9650e1e7a19642acd066767c049edf61f8514799c6d24420f68a467c79498223e92cd5be8c66
diff --git a/app-emacs/pyvenv/files/50pyvenv-gentoo.el b/app-emacs/pyvenv/files/50pyvenv-gentoo.el
new file mode 100644 (file)
index 0000000..87672c9
--- /dev/null
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/pyvenv-autoload.el")
diff --git a/app-emacs/pyvenv/pyvenv-1.21.ebuild b/app-emacs/pyvenv/pyvenv-1.21.ebuild
new file mode 100644 (file)
index 0000000..842f150
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Python virtual environment support for Emacs"
+HOMEPAGE="https://github.com/jorgenschaefer/pyvenv"
+SRC_URI="https://github.com/jorgenschaefer/pyvenv/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="test" # test requires cast and ert runner which are not packaged yet
+SITEFILE="50pyvenv-gentoo.el"
+DOCS=( README.md )
+
+src_compile() {
+       elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/
+       elisp_src_compile
+}