posix: move `posix` out of `core` as its own package
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 5 Jun 2018 19:17:49 +0000 (15:17 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 6 Jun 2018 03:44:42 +0000 (23:44 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/core/core.nit
lib/posix/package.ini [new file with mode: 0644]
lib/posix/posix.nit [moved from lib/core/posix.nit with 97% similarity]

index 54f2550..5261077 100644 (file)
@@ -15,7 +15,6 @@
 # This module is implicitly imported by every module.
 module core
 
-import posix
 import environ
 import time
 import file
diff --git a/lib/posix/package.ini b/lib/posix/package.ini
new file mode 100644 (file)
index 0000000..79c6ca1
--- /dev/null
@@ -0,0 +1,12 @@
+[package]
+name=posix
+tags=wrapper,lib
+maintainer=Alexis Laferrière <alexis.laf@xymus.net>
+license=Apache-2.0
+desc=Services conforming to POSIX
+[upstream]
+browse=https://github.com/nitlang/nit/tree/master/lib/posix/
+git=https://github.com/nitlang/nit.git
+git.directory=lib/posix/
+homepage=http://nitlanguage.org
+issues=https://github.com/nitlang/nit/issues
similarity index 97%
rename from lib/core/posix.nit
rename to lib/posix/posix.nit
index 2969830..03a8a2e 100644 (file)
@@ -1,7 +1,5 @@
 # This file is part of NIT ( http://www.nitlanguage.org ).
 #
-# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
-#
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
@@ -17,8 +15,6 @@
 # Services conforming to POSIX
 module posix
 
-import text
-
 in "C Header" `{
 #include <sys/types.h>
 #include <unistd.h>