This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathppath.asd
55 lines (50 loc) · 2.19 KB
/
ppath.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#|
This file is a part of ppath project.
Copyright (c) 2017-2018 Alexey Veretennikov ([email protected])
|#
#|
File paths library based on Python's os.path
Author: Alexey Veretennikov ([email protected])
|#
(in-package :cl-user)
(defpackage ppath-asd
(:use :cl :asdf))
(in-package :ppath-asd)
(defsystem #:ppath
:version "0.1"
:author "Alexey Veretennikov"
:license "BSD" ;; https://opensource.org/licenses/bsd-license.php
:depends-on (#:alexandria ; general utilities - Public domain
#:cffi ; to access dlls (kernel32) - MIT
#-(or windows win32 os-windows) #:osicat ; for sys/stat - MIT
#:uiop ; os operations like getcwd - MIT
#:trivial-features ; consistent *features* - MIT
#:cl-ppcre
#:split-sequence) ; general split - public domain
:components ((:module "src"
:serial t
:components
((:module "details"
:serial t
:components
((:file "constants")
#+(or windows win32 os-windows) (:file "nt-cffi")
#-(or windows win32 os-windows) (:file "posix-cffi")
(:file "generic")
#+(or windows win32 os-windows) (:file "nt")
#-(or windows win32 os-windows) (:file "posix")))
(:file "ppath"))))
:description "A Common Lisp path handling library based on Python's os.path module"
:long-description
#.(with-open-file (stream (merge-pathnames
#p"README.md"
(or *load-pathname* *compile-file-pathname*))
:if-does-not-exist nil
:direction :input)
(when stream
(let ((seq (make-array (file-length stream)
:element-type 'character
:fill-pointer t)))
(setf (fill-pointer seq) (read-sequence seq stream))
seq)))
:in-order-to ((test-op (test-op ppath-test))))