posix: merge the `posix_ext` package in `posix`
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 5 Jun 2018 19:18:19 +0000 (15:18 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 6 Jun 2018 03:44:43 +0000 (23:44 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/posix/ext.nit [moved from lib/posix_ext/posix_ext.nit with 91% similarity]
lib/posix_ext/package.ini [deleted file]

similarity index 91%
rename from lib/posix_ext/posix_ext.nit
rename to lib/posix/ext.nit
index 8dd83c3..85da40a 100644 (file)
@@ -1,7 +1,5 @@
 # This file is part of NIT ( http://www.nitlanguage.org ).
 #
-# Copyright 2014 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
@@ -15,7 +13,9 @@
 # limitations under the License.
 
 # Services not defined in POSIX but provided by most implementations
-module posix_ext
+module ext
+
+import posix
 
 redef extern class Passwd
        # User information
diff --git a/lib/posix_ext/package.ini b/lib/posix_ext/package.ini
deleted file mode 100644 (file)
index 6b78527..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-[package]
-name=posix_ext
-tags=wrapper,lib
-maintainer=Alexis Laferrière <alexis.laf@xymus.net>
-license=Apache-2.0
-desc=Services not defined in POSIX but provided by most implementations
-[upstream]
-browse=https://github.com/nitlang/nit/tree/master/lib/posix_ext/
-git=https://github.com/nitlang/nit.git
-git.directory=lib/posix_ext/
-homepage=http://nitlanguage.org
-issues=https://github.com/nitlang/nit/issues