emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/smartparens 11e25065df 1/2: Copy dependencies into smartpa


From: ELPA Syncer
Subject: [nongnu] elpa/smartparens 11e25065df 1/2: Copy dependencies into smartparens.el for MELPA
Date: Fri, 20 Dec 2024 10:00:55 -0500 (EST)

branch: elpa/smartparens
commit 11e25065df49f130e8c355c302420aaa88595924
Author: Marien Zwart <marienz@google.com>
Commit: Marien Zwart <marienz@google.com>

    Copy dependencies into smartparens.el for MELPA
    
    MELPA recently stopped extracting dependencies from
    smartparens-pkg.el (see
    
https://github.com/melpa/package-build/commit/760cf53114a6f27e86bc87b44726ced34bcda0ea).
    In a fresh install (using `emacs --init-directory` pointed at a
    directory with just an init.el configuring MELPA, no other packages
    installed), `M-x package-install smartparens` does not install dash,
    which means smartparens does not work.
    
    Try to fix it by copying the dependencies from smartparens-pkg.el to a
    Package-Requires header, which MELPA should still extract.
    
    Drop the dependency on cl-lib while I'm there. This was needed in Emacs
    < 24, which smartparens no longer supports.
---
 smartparens-pkg.el | 3 +--
 smartparens.el     | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/smartparens-pkg.el b/smartparens-pkg.el
index 12a38f390c..b7fc2409b9 100644
--- a/smartparens-pkg.el
+++ b/smartparens-pkg.el
@@ -1,3 +1,2 @@
 (define-package "smartparens" "1.11.0" "Automatic insertion, wrapping and 
paredit-like navigation with user defined pairs."
-  '((dash "2.13.0")
-    (cl-lib "0.3")))
+  '((dash "2.13.0")))
diff --git a/smartparens.el b/smartparens.el
index 7ea05734b4..492c1c73c2 100644
--- a/smartparens.el
+++ b/smartparens.el
@@ -6,6 +6,7 @@
 ;; Maintainer: Matus Goljer <matus.goljer@gmail.com>
 ;; Created: 17 Nov 2012
 ;; Version: 1.11.0
+;; Package-Requires: ((dash "2.13.0"))
 ;; Keywords: abbrev convenience editing
 ;; URL: https://github.com/Fuco1/smartparens
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]